Function ProcessChain.wait

Waits for all processes in the chain to exit and returns an array of exit codes.

Prototype

int[] wait();