1BSD/man1/wait.1

Compare this file to the similar file:
Show the results in this format:

.th WAIT I 4/9/73
.sh NAME
wait \*- await completion of process
.sh SYNOPSIS
.bd wait
.sh DESCRIPTION
Wait until all processes started with
.bd `&'
have completed,
and report on abnormal terminations.
.s3
Because
.it "sys wait"
must be executed in the parent process,
the Shell itself executes
.it wait,
without creating a new process.
.sh "SEE ALSO"
sh (I)
.sh BUGS
After executing
.it wait
in a non-interactive shell
you are committed to waiting until
termination,
because interrupts and quits are ignored
by all processes concerned.
The only out, if the process does not terminate,
is to
.it kill
it from another terminal or to
hang up.