system
Environment variables, shell commands and file management.
from "system" import ...
Functions
| getenv | getenv(name: string): string|null | Returns the value of the environment variable or null |
| remove | remove(path: string) | Deletes the file at the given path, throws error in case of fail |
| rename | rename(old: string, new: string) | Renames the file from old to new path, throws error in case of fail |
| setenv | setenv(name: string, value: string) | Sets the environment variable to the given value |
| system | system(cmd: string): int | Executes a shell command and returns its exit code |