help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Why BASH_SUBSHELL behaves differently in () and <()?


From: Chet Ramey
Subject: Re: [Help-bash] Why BASH_SUBSHELL behaves differently in () and <()?
Date: Fri, 18 Sep 2015 09:33:44 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 9/18/15 8:35 AM, Greg Wooledge wrote:
> On Fri, Sep 18, 2015 at 01:46:45PM +0800, ziyunfei wrote:
>> But as you said in 
>> http://lists.gnu.org/archive/html/help-bash/2015-04/msg00010.html
>> BASHPID is expanded in the subshell, so BASH_SUBSHELL must also be like that.
> 
> I think you mean "should" rather than "must".  I.e. you would like bash
> to treat them both the same.  However, it doesn't (currently).
> 
> In http://lists.gnu.org/archive/html/help-bash/2015-04/msg00013.html
> Chet says it will be fixed in the next release of bash.

What I said in that message was that the process substitution environment
would be modified to change how BASH_SUBSHELL was handled.

-- 
``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/



reply via email to

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