Property | Type | Description | |
---|---|---|---|
$arguments | |||
$dir | |||
$env | |||
$execPath |
Method | Description | |
---|---|---|
__construct ( $execPath, $arguments, $env = [], $dir = '' ) | Hold some command values to later exec | |
getCommandString ( ) | Generate a single command string. | |
run ( $stdoutFile = '' ) | Run our command. Set up the environment, as needed, ensuring that it is restored at the end of the run. | |
runCommand ( string $commandString, $stdoutFile = '' ) : integer | Run a single command. |
public __construct ( $execPath, $arguments, $env = [], $dir = '' ) |
public run ( $stdoutFile = '' ) |
public static runCommand ( string $commandString, $stdoutFile = '' ) : integer | ||
$commandString | string | |
return | integer |