Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 406 Bytes

File metadata and controls

22 lines (14 loc) · 406 Bytes

std.process

Process control and exit handling.

Functions

terminate(code: Int) -> Void

Terminates the current process with the given exit code.

exit_success() -> Void

Terminates the current process with exit code 0 (success).

exit_failure() -> Void

Terminates the current process with exit code 1 (failure).

Examples

load std.process

process.exit_success()