freebsd man page for pwait

Query: pwait

OS: freebsd

Section: 1

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

PWAIT(1)						    BSD General Commands Manual 						  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.
DIAGNOSTICS
The pwait utility returns 0 on success, and >0 if an error occurs. 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.
BSD
November 1, 2009 BSD
Related Man Pages
kill(1) - mojave
kill(1) - opendarwin
wait(1) - hpux
kill(1) - freebsd
kill(1) - netbsd
Similar Topics in the Unix Linux Community
functionalities of PFILES
Process Wait on DG UX
Running from Shell Vs running from RC script
Stuck in pthread_cond_signal()