swoole_process::daemon

使当前进程脱变为一个守护进程。

bool swoole_process::daemon(bool $nochdir = false, bool $noclose = false);

此函数在1.7.5-stable版本后可用