FireTrait
trait FireTrait
Fire trait.
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 30
protected string
buildReactorPath()
Returns path to the reactor executable.
at line 43
protected string
buildCommand(string $command, bool $background = false, bool $sameEnvironment = true)
Returns command that we're going to execute.
at line 78
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 101
protected
fireAndForget(string $command, bool $sameEnvironment = true)
Starts command as a background process.