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