Annotation of coherent/a/usr/man/COHERENT/wait.c, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: wait                         Command                         wait
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Await completion of background process
                      9: 
                     10: wwaaiitt [_p_i_d]
                     11: 
                     12: Typing the  character `&' after  a command tells the  shell sh to
                     13: execute it  as a background (or  detached) process; otherwise, it
                     14: is executed as a foreground process.  You can perform other tasks
                     15: while a  background process is being  executed.  The shell prints
                     16: the process  id number of each background process  when it is in-
                     17: voked.  ps reports on currently active processes.
                     18: 
                     19: The command  wait tells the shell to  suspend execution until the
                     20: child  process with  the given  pid is completed.   If no  pid is
                     21: given, wait suspends execution until all background processes are
                     22: completed.   If the  process with  the given pid  is not  a child
                     23: process of the current shell, wait returns immediately.
                     24: 
                     25: The shell executes wait directly.
                     26: 
                     27: ***** See Also *****
                     28: 
                     29: commands, ps, sh
                     30: 
                     31: ***** Notes *****
                     32: 
                     33: If a  subshell invokes a background  process and then terminates,
                     34: wait will return  immediately rather than waiting for termination
                     35: of the grandchild process.
                     36: 
                     37: 
                     38: 
                     39: 
                     40: 
                     41: 
                     42: 
                     43: 
                     44: 
                     45: 
                     46: 
                     47: 
                     48: 
                     49: 
                     50: 
                     51: 
                     52: 
                     53: 
                     54: 
                     55: 
                     56: 
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.