wait(1) DG/UX 5.4 Rel. 2.01 wait(1)
NAME
wait - await completion of process
SYNOPSIS
wait [ n ]
DESCRIPTION
Wait for your background process whose process id is n and report its
termination status. The optional process id argument, n, is
available only through the sh and ksh. If n is omitted, all your
shell's currently active background processes are waited for and the
return code will be zero.
The shell itself executes wait, without creating a new process.
SEE ALSO
csh(1), ksh(1), sh(1), wait(2).
BUGS
Not all the processes of a pipeline with three or more stages are
children of the shell; thus, they cannot be waited for.
Licensed material--property of copyright holder(s) 1