Symfony\Component\Process\Process::signal
Sends a posix signal to the process.
Signature
public function signal(integer
$signal )
Parameters
$signal
— integer- A valid posix signal (see http://www.php.net/manual/en/pcntl.constants.php)
Returns
- Process
Errors/Exceptions
-
LogicException
- In case the process is not running
-
RuntimeException
- In case --enable-sigchild is activated
-
RuntimeException
- In case of failure