Process::stop()

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
doc_Symfony
2016-10-28 06:27:02
Comments
Leave a Comment

Please login to continue.