int
stop(int|float $timeout = 10, int $signal = null)
Stops the process.
Parameters int|float $timeout The timeout in seconds int $signal A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL (9) Return Value int The exit-code of the process