InvokedProcess
interface InvokedProcess (View source)
Methods
int|null
id()
Get the process ID if the process is still running.
$this
signal(int $signal)
Send a signal to the process.
bool
running()
Determine if the process is still running.
string
output()
Get the standard output for the process.
string
errorOutput()
Get the error output for the process.
string
latestOutput()
Get the latest standard output for the process.
string
latestErrorOutput()
Get the latest error output for the process.
wait(callable|null $output = null)
Wait for the process to finish.
Details
int|null
id()
Get the process ID if the process is still running.
$this
signal(int $signal)
Send a signal to the process.
bool
running()
Determine if the process is still running.
string
output()
Get the standard output for the process.
string
errorOutput()
Get the error output for the process.
string
latestOutput()
Get the latest standard output for the process.
string
latestErrorOutput()
Get the latest error output for the process.
ProcessResult
wait(callable|null $output = null)
Wait for the process to finish.