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
Name | Description |
---|---|
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.