public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Where is documentation on bash "wait"?
@ 2005-10-15 17:45 Eric Blake
  2005-10-15 20:46 ` Bas van Gompel
  0 siblings, 1 reply; 15+ messages in thread
From: Eric Blake @ 2005-10-15 17:45 UTC (permalink / raw)
  To: Siegfried Heintze, 'Cygwin List'

> 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/

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-10-23  0:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-15 17:45 Where is documentation on bash "wait"? Eric Blake
2005-10-15 20:46 ` Bas van Gompel
2005-10-15 21:11   ` Eric Blake
2005-10-16  3:47     ` Buzz
2005-10-16  4:01       ` Eric Blake
2005-10-16 21:09         ` Bas van Gompel
2005-10-22 22:44         ` Where is documentation on keyring? Siegfried Heintze
2005-10-23  0:24           ` René Berber
2005-10-23  0:52           ` Gerrit P. Haase
2005-10-16 10:11       ` Where is documentation on bash "wait"? Dr. Volker Zell
2005-10-16 21:09         ` Bas van Gompel
2005-10-16 22:57           ` EventListening Peace Everyone
2005-10-16 23:10             ` EventListening Larry Hall (Cygwin)
2005-10-16 23:57               ` EventListening Peace Everyone
2005-10-17  1:03                 ` EventListening Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).