FireTrait
trait FireTrait
Fire trait.
Methods
string
buildReactorPath()
Returns path to the reactor executable.
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 42
protected
buildCommand(string $command, bool $background = false, bool $sameEnvironment = true)
Returns command that we're going to execute.
at line 77
protected int
fire(string $command, Closure $handler, bool $sameEnvironment = true)
Runs command as a separate process and feeds output to handler.
at line 95
protected
fireAndForget(string $command, bool $sameEnvironment = true)
Starts command as a background process.