bug-bash
[Top][All Lists]
Advanced

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

Re: Several issues with coprocesses regarding exit status


From: DJ Mills
Subject: Re: Several issues with coprocesses regarding exit status
Date: Thu, 13 Dec 2012 14:41:40 -0500

On Thu, Dec 13, 2012 at 2:32 PM, Chet Ramey <address@hidden> wrote:

> On 12/12/12 3:11 AM, Andreas Schwab wrote:
>
> >>   To reproduce:
> >>     if ! coproc false; then echo error1 >&2; fi; wait "$COPROC_PID" ||
> echo
> >> error2 >&2
> >
> > This has nothing to do with if but with ! which doesn't appear to work
> > in this context.
>
> Correct; good catch.  It was an oversight and will be fixed in the next
> version.  It's interesting that nobody noticed it before now.
>
> Chet
>
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, ITS, CWRU    address@hidden
> http://cnswww.cns.cwru.edu/~chet/
>

The issue with the NAME_PID variable as well?


reply via email to

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