delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/15/13:45:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: ericblake AT comcast DOT net (Eric Blake)
To: Siegfried Heintze <siegfried AT heintze DOT com>,
"'Cygwin List'" <cygwin AT cygwin DOT com>
Subject: Re: Where is documentation on bash "wait"?
Date: Sat, 15 Oct 2005 17:45:06 +0000
Message-Id: <101520051745.25630.43514022000160940000641E22007614380A050E040D0C079D0A@comcast.net>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019