class Illuminate / 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

Implements

Properties

protected

$process Symfony\...\Process

The underlying process instance.

Default: null

Methods

public

__construct ( Symfony\...\Process $process ) : void

Create a new invoked process instance.

Parameters

  • $process Symfony\...\Process
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 ) : ProcessResult

Wait for the process to finish.

Parameters

  • $output callable|null