public function Process::signal in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::signal()
Sends a POSIX signal to the process.
Parameters
int $signal A valid POSIX signal (see http://www.php.net/manual/en/pcntl.constants.php):
Return value
Throws
LogicException In case the process is not running
RuntimeException In case --enable-sigchild is activated
RuntimeException In case of failure
File
- vendor/
symfony/ process/ Process.php, line 396
Class
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
Namespace
Symfony\Component\ProcessCode
public function signal($signal) {
$this
->doSignal($signal, true);
return $this;
}