This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Where is documentation on bash "wait"?
- From: ericblake at comcast dot net (Eric Blake)
- To: Siegfried Heintze <siegfried at heintze dot com>, 'Cygwin List' <cygwin at cygwin dot com>
- Date: Sat, 15 Oct 2005 17:45:06 +0000
- Subject: Re: Where is documentation on bash "wait"?
> I tried info and man and could not find any information on wait. I want to
> (using bash)
Did you try 'man wait'? That would have pointed you to 'man bash', where
as a bash builtin, wait is properly documented. Also, 'info bash' will tell you
about bash builtins, or you can try 'help wait' for a short synopsis.
>
> (1) How do I wait for multiple children and wake up when the first one dies?
wait
>
> (2) Examine the status code of the dead child and possibly spawn a new one?
I don't know of any way in POSIX to do this, but it is not really specific to
cygwin, so you might try asking a more appropriate mailing list.
--
Eric Blake
volunteer cygwin bash maintainer
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/