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