Skip to content
FutureBlitz

    Install

    Import std.os.process_child

    ExitStatus

    std.os.process_child

    struct

    Public Struct ExitStatus Implements Printable

    How a child ended: with the code it exited with, or by a signal, as Kill ends one.

    std/os/process_child.fb, line 45

    • Public ReadOnly Field Code: Int64? field #

      The code it exited with, which on Windows is from 0 to 4294967295, or Null when a signal ended it.

    • Public ReadOnly Field Signal: Int? field #

      The signal that ended it, as 9 for Kill, on Windows too, or Null when it exited.

    • Public Property Success: Bool property #

      Whether it exited with 0, which says it went well.

    • Public Method ToString(): String method #

      How it ended, as "exit code 0" or "signal 9".

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