System module
This module contains functions for interaction with the system, such as environment and argument retrieval, sleeping, and temporary file creation.
On Posix systems, the Posix module provides additional system interaction functions.
Functions
- Void _exit(Int code) - Exit immediately, without calling signal handlers.
- Void chdir(String path) - Change directory
- [String] getArgs() - Get command-line arguments.
- String getCwd() - Get current working directory
- String getEnv(String env) - Get the value of an environment variable.
- Int getPID() - Get process ID
- Void microSleep(Int microsecs) - Sleep for the specified number of microseconds.
- String progName() - Get program name.
- Void sleep(Int secs) - Sleep for the specified number of seconds.