BSD 4_2 development
[unix-history] / usr / man / man1 / wait.1
CommitLineData
d8649de5
C
1.TH WAIT 1 "18 January 1983"
2.SH NAME
3wait \- await completion of process
4.SH SYNOPSIS
5.B wait
6.SH DESCRIPTION
7Wait until all processes started with
8.B &
9have completed,
10and report on abnormal terminations.
11.PP
12Because the
13.IR wait (2)
14system call must be executed in the parent process,
15the Shell itself executes
16.I wait,
17without creating a new process.
18.SH "SEE ALSO"
19sh(1)
20.SH BUGS
21Not all the processes of a 3- or more-stage
22pipeline are children of the Shell, and thus can't be waited for.
23(This bug does not apply to
24.IR csh (1).)