Namespace Sys
Sys namespace used for things such as executing external commands.
Defined in: sys.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
Sys.run(parameters)
Runs the command given as the first parameter with the arguments given as the remaining
parameters and returns an object containing the exit status (as the exitStatus property)
and command output (as the output property).
|
Method Detail
<static>
{Object}
Sys.run(parameters)
Runs the command given as the first parameter with the arguments given as the remaining
parameters and returns an object containing the exit status (as the exitStatus property)
and command output (as the output property).
- Parameters:
- {String[]} parameters
- First parameter is command name, rest are arguments to invoke the command with.
- Returns:
- {Object} Object with 'exitStatus' and 'output' properties.