Wait for an arbitrary process.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.2 KiB

.TH WAIT 03/21/2013 "wait4 @PACKAGE_VERSION]" "wait4 Manual"
wait4 \- Wait for arbitrary processes
.SY wait4
.RB [ \-h | --help ]
.RB [ \-v | --version ]
.RB [ \-t | --timeout
.IR time ]
.IR pid ...
.B wait4
waits for the process(es) identified by the specified PID(s)
to terminate, and reports the termination status of the
process whose PID is specified last.
.BR -h ", " --help
Display the help message.
.BR -v ", " --version
Display the version message.
.BR -t ", " --timeout " " \fItime\fR
Aborts waiting after the specified
.I time
(in seconds).
The ability to report the termination status of the waited
process depends on
.BR netlink (7).
On systems without netlink, a fallback
.BR kill (2)-based
mechanism is used, which does not allow to retrieve the
termination status; the exit status is then always 0.
Report bugs to
Damien Goutte-Gattat
.ME .
.ad l
Copyright \(co 2013 Damien Goutte-Gattat
This program is released under the GNU General Public License.
See the COPYING file in the source distribution or
.UR http://www.gnu.org/licenses/gpl.html
.UE .