ExecutorInterface
in
Run a command in shell context
TODO: Figure where we can put this for reuse without creating an ever-growing blob
Tags
Table of Contents
- __invoke() : ExecutionResult
- Run the command
Methods
__invoke()
Run the command
public
__invoke(non-empty-string $cmd[, string $throwOnNonZero = '' ]) : ExecutionResult
Parameters
- $cmd : non-empty-string
-
The complete command to run including all parameters
- $throwOnNonZero : string = ''