Skip to content
FutureBlitz

    Install

    Import std.os.process

    std.os.process

    Process, the program's own: its Id, and Exit, which ends it with a code for what started it.

    std/os/process.fb

    Types

    Process struct

    Public Struct Process

    Process's Static Members.

    std/os/process.fb, line 11

    • Public Static Property Id: Int64 property #

      The OS's number for the program's process.

    • Public Static Method Exit(code: Int) static method #

      Ends the program at once with code, which the OS gives what started it: 0 says it went well. What it printed is flushed, but nothing else runs, on any thread: no Defer, Destroy, or leak report. Linux and macOS give only code's low 8 bits.

    Report an issue with this page or with FutureBlitz on GitHub.