system::execute

Execute a given shell command

system::execute($command, $arguments = array(), $what = 'all')

Parameters

$command (string)
Name or path of the command
$arguments (string)
Additional arguments
$what (string)
What to return ('status', 'success', 'output' or 'all')

Return values

mixed