Commit | Line | Data |
---|---|---|
fde98a2d BJ |
1 | .th WAIT I 4/9/73 |
2 | .sh NAME | |
3 | wait \*- await completion of process | |
4 | .sh SYNOPSIS | |
5 | .bd wait | |
6 | .sh DESCRIPTION | |
7 | Wait until all processes started with | |
8 | .bd `&' | |
9 | have completed, | |
10 | and report on abnormal terminations. | |
11 | .s3 | |
12 | Because | |
13 | .it "sys wait" | |
14 | must be executed in the parent process, | |
15 | the Shell itself executes | |
16 | .it wait, | |
17 | without creating a new process. | |
18 | .sh "SEE ALSO" | |
19 | sh (I) | |
20 | .sh BUGS | |
21 | After executing | |
22 | .it wait | |
23 | in a non-interactive shell | |
24 | you are committed to waiting until | |
25 | termination, | |
26 | because interrupts and quits are ignored | |
27 | by all processes concerned. | |
28 | The only out, if the process does not terminate, | |
29 | is to | |
30 | .it kill | |
31 | it from another terminal or to | |
32 | hang up. |