private function isRunning()
    {
        if (!is_resource($this->process)) {
            return false;
        }

        $status = proc_get_status($this->process);

        return $status['running'];
    }
private function isRunning()
    {
        if (!is_resource($this->process)) {
            return false;
        }

        $status = proc_get_status($this->process);

        return $status['running'];
    }
private function isRunning ( ) { if ( ! is_resource ( $ this -> process ) ) { return false ; } $ status = proc_get_status ( $ this -> process ) ; return $ status [ 'running' ] ; }
Determine if the process is running.

@return boolean
Determine if the process is running .