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

Execute a given shell command

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