Process mustRun(callable $callback = null)
Runs the process.
This is identical to run() except that an exception is thrown if the process exits with a non-zero exit code.
Process mustRun(callable $callback = null)
Runs the process.
This is identical to run() except that an exception is thrown if the process exits with a non-zero exit code.
callable | $callback |
Process |
RuntimeException | if PHP was compiled with --enable-sigchild and the enhanced sigchild compatibility mode is not enabled |
ProcessFailedException | if the process didn't terminate successfully |
Designed by : w10schools
service@w10schools.com
Please login to continue.