Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wait(1) — sysv — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)



WAIT(1-SysV)        RISC/os Reference Manual         WAIT(1-SysV)



NAME
     wait - await completion of process

SYNOPSIS
     wait [ n ]

DESCRIPTION
     Wait for your background process whose process id is n and
     report its termination status.  If n is omitted, all your
     shell's currently active background processes are waited for
     and the return code will be zero.

     The shell itself executes wait, without creating a new pro-
     cess.

SEE ALSO
     sh(1).

CAVEAT
     If you get the error message cannot fork, too many
     processes, try using the wait(1) command to clean up your
     background processes.  If this doesn't help, the system pro-
     cess table is probably full or you have too many active
     foreground processes.  (There is a limit to the number of
     process ids associated with your login, and to the number
     the system can keep track of.)

ERRORS
     Not all the processes of a 3- or more-stage pipeline are
     children of the shell, and thus cannot be waited for.

     If n is not an active process id, all your shell's currently
     active background processes are waited for and the return
     code will be zero.





















                         Printed 1/15/91                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026