Symfony\Component\Process\Process::stop
Stops the process.
Signature
public function stop([integer
$timeout = 10,
[integer
$signal = null]] )
Parameters
$timeout
— integer- The timeout in seconds
$signal
— integer- A posix signal to send in case the process has not stop at timeout, default is SIGKILL
Returns
- integer
- The exit-code of the process
Errors/Exceptions
-
RuntimeException
- if the process got signaled