ultrix man page for wait

Query: wait

OS: ultrix

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

wait(1) 						      General Commands Manual							   wait(1)

Name
       wait - wait for process completion

Syntax
       wait [pid]

Description
       The command waits until all processes started with an ampersand (&) have completed and reports on abnormal terminations.

       If a numeric pid is given and is the process ID of a background process, then waits until that process is completed.  If pid is not a back-
       ground process, waits until all background processes have completed.

       Because the system call must be executed in the parent process, the Shell itself executes without creating a new process.

Restrictions
       Because not all the processes of a 3- or more-stage pipeline are children of the Shell, the command does not work on them.

       The [pid] is available only with sh5.

See Also
       sh(1), sh5(1), wait(2)

																	   wait(1)
Related Man Pages
wait(1) - opensolaris
tcl_detachpids(3) - mojave
tcl_waitpid(3) - mojave
tcl_reapdetachedprocs(3) - centos
tcl_waitpid(3) - osx
Similar Topics in the Unix Linux Community
Waiting till the directory becomes empty
Shell script runs fine in Solaris, in Linux hangs at wait command
Parent,child wait,signal
Wait for one processes to complete in a shell script
Wait/if Generated kind of operation