pwait - Man Page
wait for processes to terminate
Synopsis
pwait [-v] PID...
Description
Wait for all of the specified processes to terminate. Unlike wait(1), the target processes do not need to be children of the calling process.
Options
- -v
Verbose. Reports terminations to standard output. When the target process is a child of the calling process, the wait status is also displayed.
Operands
- PID
Process ID. A /proc/pid path may also be used, allowing shell expansions like /proc/* to target all processes on the system.
Exit Status
0 on success, non-zero if an error occurs (such as no such process, permission denied, or invalid option).
Files
- /proc/pid/*
Process information and control files.
See Also
Info
March 2026 pwait 0.2.22