logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

waitpid - utility to wait for arbitrary processes

Authors

       Thomas Weißschuh <thomas@t-8ch.de>

Availability

       The waitpid command is part of the util-linux package which can be downloaded from Linux Kernel Archive
       <https://www.kernel.org/pub/linux/utils/util-linux/>.

util-linux 2.40.2                                  2024-04-24                                         WAITPID(1)

Description

waitpid is a simple command to wait for arbitrary non-child processes.

       It exits after all processes whose PIDs have been passed as arguments have exited.

Exit Status

waitpid has the following exit status values:

       0
           success

       1
           unspecified failure

       2
           system does not provide necessary functionality

       3
           timeout expired

Name

       waitpid - utility to wait for arbitrary processes

Options

-v, --verbose
           Be more verbose.

       -t, --timeoutseconds
           Maximum wait time.

       -e, --exited
           Don’t error on already exited PIDs.

       -c, --countcount
           Number of process exits to wait for.

       -h, --help
           Display help text and exit.

       -V, --version
           Print version and exit.

Reporting Bugs

       For bug reports, use the issue tracker at https://github.com/util-linux/util-linux/issues.

See Also

waitpid(2) wait(1P)

Synopsis

waitpid [-v] [--timeout|-tseconds] pid...

See Also