Process.wait

Wait for the process to exit, allowing other fibers to continue in the meantime.

  1. int wait()
    struct Process
    int
    wait
    ()
  2. Nullable!int wait(Duration timeout)

Return Value

Type: int

The exit code of the process. If a timeout is given and reached, a null value is returned.

Meta