Class CommandManager
Tool for executing commands.
- App\Model\CommandManager uses Nette\SmartObject (not available)
public
|
|
public
string
|
|
public
boolean
|
private
boolean
|
$sudo
|
|
private
array
|
$descriptorspec
An indexed array where the key represents the descriptor number and the value represents how PHP will pass that descriptor to the child process. 0 is stdin, 1 is stdout, while 2 is stderr. |
#
[
0 => ['pipe', 'r'], // stdin is a pipe that the child will read from
1 => ['pipe', 'w'], // stdout is a pipe that the child will write to
2 => ['pipe', 'w'] // stderr is a pipe that the child will write to
]
|