command (command)
executes a given command and returns the standard output. If the exit status is non-zero, throws an Error.
Parameters
| String | command | and optional arguments as individual strings |
Returns Type
| String the standard output of the command |
status (command)
executes a given command quietly and returns the exit status.
Parameters
| String | command | and optional arguments as individual strings |
Returns Type
| Number exit status |
system (command)
executes a given command, attached to this process's output and error streams, and returns the exit status.
Parameters
| String | command | and optional arguments as individual strings |
Returns Type
| Number exit status |