- Source:
- index.js
Methods
-
<static> run_(cmd, options)
-
Execute a shell command.
Parameters:
Name Type Description cmdstring Command line to execute
optionsobject - Source:
- shell/cmd.js
Returns:
- Type
- Promise.<Object>
-
<static> runLive_(cmd [, args], onStdOut, onStdErr, options)
-
Execute a shell command and lively output
Parameters:
Name Type Argument Description cmdstring Command line to execute
argsArray <optional>
Arguments list *
onStdOut* onStdErr* options* - Source:
- shell/cmd.js
Returns:
- Type
- Promise.<Object>
-
<static> runSync(cmd)
-
Execute a shell command synchronously
Parameters:
Name Type Description cmdstring Command line to execute
- Source:
- shell/cmd.js
Returns:
- Type
- string