Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: "Siegfried Heintze" To: "'Cygwin List'" Subject: Where is documentation on bash "wait"? Date: Sat, 15 Oct 2005 10:55:13 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <101220051545.21471.434D2FA800096FCD000053DF22007613940A050E040D0C079D0A@comcast.net> Message-ID: <5137116.1129395321861.JavaMail.SYSTEM@CCC-NOVA1> X-IsSubscribed: yes I tried info and man and could not find any information on wait. I want to (using bash) (1) How do I wait for multiple children and wake up when the first one dies? (2) Examine the status code of the dead child and possibly spawn a new one? Where is the documentation on wait? Thanks, Siegfried -- 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/