Метод | Описание | |
---|---|---|
__construct ( string $command, $verbose = false ) | ||
getOutput ( ) : string | Retrieve output of cmd run | |
getStatus ( ) : integer | Retrieve exit code of cmd run | |
run ( array $args = null ) : |
Run the command | |
setSu ( string $sudo = false ) | (Re-)set sudo command |
Метод | Описание | |
---|---|---|
progress ( string $string, integer $flags ) : string | Output handler that displays some progress while soaking output | |
suExec ( string $command, boolean $verbose = null ) : integer | Execute a program with escalated privileges handling interactive password prompt |
public __construct ( string $command, $verbose = false ) | ||
$command | string |