Class Index | File Index

Classes


Namespace Sys

Sys namespace used for things such as executing external commands.
Defined in: sys.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Sys
Method Summary
Method Attributes Method Name and Description
<static>  
Sys.exit(An)
Initiates the termination of the application, returning an exit code.
<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).
Namespace Detail
Sys
Method Detail
<static> Sys.exit(An)
Initiates the termination of the application, returning an exit code.
Parameters:
{int} An
exit code (only 0 or 1 can be returned). invoke the command with.

<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.

Documentation generated by JsDoc Toolkit 2.3.2 on Sat Oct 24 2009 19:09:08 GMT-0500 (CDT)