FireTrait
trait FireTrait
Fire trait.
Properties
Application | $app |
Methods
string
buildReactorPath()
Returns path to the reactor executable.
string
buildCommand(string $command, bool $background = false, bool $sameEnvironment = true)
Returns command that we're going to execute.
int
fireAndForget(string $command, bool $sameEnvironment = true)
Starts command as a background process.
Details
at line 32
protected string
buildReactorPath()
Returns path to the reactor executable.
at line 45
protected string
buildCommand(string $command, bool $background = false, bool $sameEnvironment = true)
Returns command that we're going to execute.
at line 80
protected int
fire(string $command, Closure|null $handler = null, bool $sameEnvironment = true)
Runs command as a separate process and feeds output to handler.
at line 103
protected
fireAndForget(string $command, bool $sameEnvironment = true)
Starts command as a background process.