Method |
Description |
|
__construct ( string $cwd = '', array $env = [] ) |
Constructor. |
|
clearEnv ( ) : Client |
Removes environment properties. |
|
exec ( string $cmd, integer &$status = null ) : Client |
Executes an external command. |
|
getError ( ) : string |
Returns stderr contents. |
|
getOut ( ) : string |
Returns stdout contents. |
|
killProcess ( string $name ) : self |
Kills all processes of the given name. |
|
loadProcessList ( ) : self |
Returns a list of processes. |
|
processExists ( string $name ) : boolean |
Checks if there is a process of the given name. |
|
setCwd ( string $cwd = '' ) : Client |
Sets working directory. |
|
setEnv ( array $env ) : Client |
Adds one or more environment properties. |
|