vibe.d beta banner
get vibe.d
0.8.6

Asynchronous I/O that doesn’t get in your way, written in D

Function Process.wait

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

int wait() @safe;

std.typecons.Nullable!(int) wait (
  core.time.Duration timeout
) @safe;

Parameters

NameDescription
timeout Optionally wait until a timeout is reached.

Returns

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

Authors
Copyright
License