bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with waiting for child processes within loop


From: Chet Ramey
Subject: Re: Problem with waiting for child processes within loop
Date: Tue, 24 Apr 2001 13:57:12 -0400

> uname output: Linux freak 2.2.14-12-custom #3 Mon May 15 00:12:59 EDT 2000 
> i686 unknown
> 
> Bash Version: 1.14
> Patch Level: 7
> 
> (I believe this is the copy of bash installed with RedHat Linux 6.2.)
> 
> Description:
> 
> I start multiple background processes, then try to wait for them in a
> bash for loop.  One of the wait statements fails with the message
> "wait: pid 2551 is not a child of this shell" when it should actually
> succeed.

This is fixed in the bash-2.x series.  (Bash-2.02.1 is the earliest version
I have to test.)

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]