public function stop($kill = false)
    {
        $this->shutdown = true;
        \posix_kill($this->pid, $kill ? SIGKILL : SIGTERM);
    }
public function stop($kill = false)
    {
        $this->shutdown = true;
        \posix_kill($this->pid, $kill ? SIGKILL : SIGTERM);
    }
public function stop ( $ kill = false ) { $ this -> shutdown = true ; \ posix_kill ( $ this -> pid , $ kill ? SIGKILL : SIGTERM ) ; }
Terminates the process
@param boolean Kill?
@return void
Terminates the process