Reads the given environment variable.
If the value is invalid Unicode, the invalid parts will be replaced with the Unicode replacement character.
Returns Err(VarNotFound(name)) if the variable is not set.
:= []
Reads the given environment variable.
If the value is invalid Unicode, the invalid parts will be replaced with the Unicode replacement character.
Returns Err(VarNotFound(name)) if the variable is not set.
Reads all the process's environment variables into a Dict.
If any key or value contains invalid Unicode, the Unicode replacement character is used in place of the invalid parts.
platform! : () => { arch : Arch, os : Os }
Returns the current architecture and operating system.
Note these values are constants from when the platform was built.
The CPU architecture the platform was built for.
The operating system the platform was built for.