Next: , Previous: System_object, Up: System


3.2.1.10 System.os

Provides operating system-specific services.

Supported properties:

args
A list of command-line arguments passed in from the shell.

Supported methods:

envGet(name)
Returns the specified environment variable.
envSet(name, value)
Sets the specified environment variable to the given value.
fork()
Creates a copy of the current process.
chdir(path)
Changes the current working directory to the given path.
getcwd()
Gets the current working directory.
system(command)
Runs the given system command.