protected function sendSignal($signal)
    {
        try {
            $this->process->signal($signal);
        } catch (ExceptionInterface $e) {
            if ($this->process->isRunning()) {
                throw $e;
            }
        }
    }
protected function sendSignal($signal)
    {
        try {
            $this->process->signal($signal);
        } catch (ExceptionInterface $e) {
            if ($this->process->isRunning()) {
                throw $e;
            }
        }
    }
protected function sendSignal ( $ signal ) { try { $ this -> process -> signal ( $ signal ) ; } catch ( ExceptionInterface $ e ) { if ( $ this -> process -> isRunning ( ) ) { throw $ e ; } } }
Send a POSIX signal to the process.

@param  int  $signal
@return void
Send a POSIX signal to the process .