Aron Griffis wrote:
> Machine Type: x86_64-pc-linux-gnu
>
> Bash Version: 3.0
> Patch Level: 16
> Release Status: release
>
> Description:
> When 2 processes are backgrounded inside $(...), bash forgets the first
> one was a child of the shell.
>
> Repeat-By:
> Note this needs to be a script, not cmdline, otherwise $! doesn't work.
>
> $ cat demo
> output=$(
> true &
> pid=$!
> true &
> sleep 1
> wait $pid
> )
I can't reproduce the problem with bash-3.1.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://tiswww.tis.case.edu/~chet/
_______________________________________________
Bug-bash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash