pipe outut and daemonize