Skip to content
FutureBlitz

    Install

    Import std.os.process

    Process

    std.os.process

    struct

    Public Struct Process

    Process's Static Members.

    Examples

    Expect(Process.Id > 0)

    std/os/process.fb, line 19

    • 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.