wait multimethod

Methods

wait(p:Process) Source: stdlib.ngs:4569
Wait for a process. Waits for reading and writing threads to finish. Waits for the process to finish. Checks whether to throw ProcessFail using finished_ok().

Returns

p
wait(cp:CommandsPipeline) Source: stdlib.ngs:4593
Wait for all processes to finish.