interface
Illuminate
/
Contracts
/
Process
/
InvokedProcess
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
InvokedProcess
Methods
public
id ( ) : int|null
Get the process ID if the process is still running.
public
signal ( int $signal ) : $this
Send a signal to the process.
Parameters
- $signal int
public
running ( ) : bool
Determine if the process is still running.
public
output ( ) : string
Get the standard output for the process.
public
errorOutput ( ) : string
Get the error output for the process.
public
latestOutput ( ) : string
Get the latest standard output for the process.
public
latestErrorOutput ( ) : string
Get the latest error output for the process.
public
wait ( callable $output ) : Illuminate\...\ProcessResult
Wait for the process to finish.
Parameters
- $output callable|null