This module provides APIs to retrieve information about the environment variables and the current users of the Operating System.
The APIs are platform-independent, i.e., uniform across all operating systems.
For information on the operations, which you can perform with the
os module, see the below Functions.
Executes an operating system command as a subprocess of the current process.
Returns the environment variable value associated with the provided name.
Returns the current user's home directory path.
Returns the current user's name.
Returns a map of environment variables.
Sets the value of the environment variable named by the key.
Removes a single environment variable from the system if it exists.
This object contains information on a process being created from Ballerina.
Represents OS module related errors.
Process Execution error that returns when the os:Exec function fails.