Module brl.process - leonard-thieu/monkey GitHub Wiki
AppArgs : String[] ()
AppPath : String ()
ChangeDir : Int ( path:String )
CurrentDir : String ()
Execute : Int ( cmd:String )
ExitApp : Int ( retcode:Int )
GetEnv : String ( name:String )
SetEnv : Int ( name:String, value:String )
Returns the application startup parameters.
Function AppPath : String ()
Returns the file system path of the currently running application.
Changes the current directory of the running application.
Function CurrentDir : String ()
Returns the current directory of the currently running application.
Executes a shell command and returns the result. This is generally 0 for success, or non-0 for failure.
Exits the application with the given return code.
In general, ExitApp should return 0 if successful, or <0 upon failure.
Get an environment variable.
Set an environment variable.