Sys/ProcessEdit on GitHub
This module provides utilities to access functionality and information about the Grain program’s process. This includes things like accessing environment variables and sending signals.
Signals that can be sent to the host system.
Access command line arguments.
Returns the positional string arguments to the process.
Access environment variables.
Returns the environment variables supplied to the process.
Terminate the process normally.
- code: The value to exit with. An exit code of 0 is considered normal, with other values having meaning depending on the platform
Send a signal to the process of the calling thread.
- signal: The signal to send
Yield execution to the calling thread.