Méthode | Description | |
---|---|---|
__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 |
Méthode | Description | |
---|---|---|
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 |