This class gives you access to many base functionalities of system platforms. Looks in [sys] sub packages for more system APIs.

Static methods

staticexecutablePath ():String

Available on neko

Returns the path to the current executable that we are running.

staticgetEnv (s:String):String

Returns the value of the given environment variable.

staticprint (v:Dynamic):Void

Print any value on the standard output.

staticprintln (v:Dynamic):Void

Print any value on the standard output, followed by a newline

staticstdout ():Output

Returns the process standard output on which you can write.

statictime ():Float

Gives the most precise timestamp value (in seconds).