<?php Swoole\Process::daemon ([ boolean $nochdir [, boolean $noclose ]]) : bool
If to change the current path.
If to close the standard I/O of the process.
Change the process to be a daemon process.
Join 1,000s others and never miss out on new tips, tutorials, and more.