wait — Await Process Completion

Synopsis

sh
wait [pid] 
/bin/jsh, /bin/ksh, /usr/xpg4/bin/sh
wait [pid] 
wait [%job-id...] 
/bin/csh
wait 

Description

When writing shell scripts, occasionally it is important to be able to run simultaneous processes and wait for their conclusion before proceeding with other commands. The wait command provides shells with some of the job control features. It waits for all background processes to complete ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.