Legal Notice, Privacy Policy

Impressum, Datenschutzerklärung

Cerberus X Documentation

Module brl.process

Declarations

Imports
brl.databuffer Databuffer objects provide storage for arbitrary data.
Imported By
brl
Please note that only documented modules are listed here, there might be undocumented modules that import this one.
Classes
Process
Functions
AppArgs : String[] () Returns the application startup parameters.
AppPath : String () Returns the file system path of the currently running application.
ChangeDir : Int ( path:String ) Changes the current directory of the running application.
CurrentDir : String () Returns the current directory of the currently running application.
Execute : Int ( cmd:String ) Executes a shell command and returns the result.
ExitApp : Int ( retcode:Int ) Exits the application with the given return code.
GetEnv : String ( name:String ) Get an environment variable.
SetEnv : Int ( name:String, value:String ) Set an environment variable.

Functions Documentation

Function AppArgs : String[] ()

Returns the application startup parameters.

Function AppPath : String ()

Returns the file system path of the currently running application.

Function ChangeDir : Int ( path:String )

Changes the current directory of the running application.

Function CurrentDir : String ()

Returns the current directory of the currently running application.

Function Execute : Int ( cmd:String )

Executes a shell command and returns the result. This is generally 0 for success, or non-0 for failure.

Function ExitApp : Int ( retcode:Int )

Exits the application with the given return code.

In general, ExitApp should return 0 if successful, or <0 upon failure.

Function GetEnv : String ( name:String )

Get an environment variable.

Function SetEnv : Int ( name:String, value:String )

Set an environment variable.