]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r199458: Add pwait utility, which waits for any process to terminate.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 23 Dec 2009 22:59:03 +0000 (22:59 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 23 Dec 2009 22:59:03 +0000 (22:59 +0000)
commitd4891548b89fdd8250cb95c401bc1663fe437218
tree3fadb61e24f9679de6da933e7ef4d93b17871e11
parent329995d7691e33805a3190fd4ac99ec1225891e0
MFC r199458: Add pwait utility, which waits for any process to terminate.

This is similar to the Solaris utility of the same name.

Some use cases:
* rc.subr's wait_for_pids
* interactive use, e.g. to shut down the computer when some task is done
  even if the task is already running

git-svn-id: svn://svn.freebsd.org/base/stable/8@200927 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/Makefile
bin/pwait/Makefile [new file with mode: 0644]
bin/pwait/pwait.1 [new file with mode: 0644]
bin/pwait/pwait.c [new file with mode: 0644]