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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.