From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2719 invoked by alias); 15 Oct 2005 16:55:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 2402 invoked by uid 22791); 15 Oct 2005 16:55:18 -0000 Received: from mail2.creativeconsulting.com (HELO mail2.creativeconsulting.com) (63.137.245.178) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Sat, 15 Oct 2005 16:55:18 +0000 Received: from 209.97.230.250 ([209.97.230.250]) by mail2.creativeconsulting.com (DeskNow SMTP Server 1.3) with SMTP ID 833 for ; Sat, 15 Oct 2005 10:55:19 -0600 From: "Siegfried Heintze" To: "'Cygwin List'" Subject: Where is documentation on bash "wait"? Date: Sat, 15 Oct 2005 16:55:00 -0000 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 X-SW-Source: 2005-10/txt/msg00441.txt.bz2 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/