This historical project is now archived. Please use the waitpid(1) tool provided by util-linux 2.39 instead.

Wait for (any) process on the system to exit

The waitproc program is designed to expand on the limitations of the wait(1) program, by allowing you to wait for a process which is not a child of the current shell to exit. It is otherwise designed to be mostly compatible with the interface of wait, except that it can only wait for a single process to exit. As well, some useful extensions have been added, such as support for timeouts.

Download it from Github Releases


See all waitproc announcements


waitproc only runs on Linux systems currently. It certainly may be possible to run it on Solaris or BSD, but it could require some porting work. Please contact me if you try! Other than that, you’ll need popt.


Installation is quite simple. Your standard:

make install

will get you up and running quickly.


waitproc is currently licensed under the GPL version 2, or (at your option) any later version of the GPL.


Download it from Github Releases

You can also clone the project with Git by running:

$ git clone git://github.com/kepstin/waitproc