commandExist() commandExist( cmd) : Checks the existence of a command Parameters cmd Command Returns — Is the command exists?
run() run( cmd, needSudo = false) : Executes shell command and returns output Parameters cmd Command to execute needSudo Is the command needs sudo? Returns — Output
runAsync() runAsync( callback, cmd, needSudo = false, timeout = 36000) : Executes the command asynchronously Parameters callback Callback to run whenever there is some output available on STDOUT or STDERR cmd Command to execute needSudo Is the command needs sudo? timeout Command's timeout Returns