PWAIT(1) BSD General Commands Manual PWAIT(1)NAMEpwait — wait for processes to terminate
SYNOPSISpwait [-v] pid ...
The pwait utility will wait until each of the given processes has termi‐
The following option is available:
-v Print the exit status when each process terminates.
The pwait utility returns 0 on success, and >0 if an error occurs.
Invalid pids elicit a warning message but are otherwise ignored.
SEE ALSOkill(1), pkill(1), ps(1), wait(1), kqueue(2)NOTESpwait is not a substitute for the wait(1) builtin as it will not clean up
any zombies or state in the parent process.
A pwait command first appeared in SunOS 5.8.
BSD November 1, 2009 BSD