Symfony\Component\Process\Process::setTimeout
Sets the process timeout.
To disable the timeout, set this value to null.
Signature
public function setTimeout(float|null
$timeout )
Parameters
$timeout
— object- The timeout in seconds
Returns
- self
- The current Process instance
Errors/Exceptions
-
InvalidArgumentException
- if the timeout is negative