PWAIT(1)

NAME
pwait - wait for processes to terminate

SYNOPSIS
pwait [-v] pid ...

DESCRIPTION
The pwait utility will wait until each of the given processes has terminated.

The following option is available:

-v  Print the exit status when each process terminates.

EXIT STATUS

Invalid pids elicit a warning message but are otherwise ignored.

SEE ALSO
kill(1), pkill(1), ps(1), wait(1), kqueue(2)

NOTES
pwait is not a substitute for the wait(1) builtin as it will not clean up any zombies or state in the parent process.

HISTORY
A pwait command first appeared in SunOS 5.8. This implementation was imported from FreeBSD into DragonFly 3.5.