component/swoole/process.php
public function start($nochdir = TRUE,$noclose = TRUE){
        //\swoole_process::daemon($nochdir,$noclose);
        $this->works[$this->index] = $this->process->start();
        $this->processWait();
    }
public function start($nochdir = TRUE,$noclose = TRUE){
        //\swoole_process::daemon($nochdir,$noclose);
        $this->works[$this->index] = $this->process->start();
        $this->processWait();
    }
@name 开启进程
@param 为true表示不要切换当前目录到根目录              $nochdir
@param 为true表示不要关闭标准输入输出文件描述符   $noclose
@desc
此函数在1.7.5版本后可用
1.9.1或更高版本修改了默认值，现在默认nochir和noclose均为true
蜕变为守护进程时，该进程的PID将发生变化，可以使用getmypid()来获取当前的PID