[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Why BASH_SUBSHELL behaves differently in () and <()?
From: |
ziyunfei |
Subject: |
Re: [Help-bash] Why BASH_SUBSHELL behaves differently in () and <()? |
Date: |
Thu, 17 Sep 2015 09:20:19 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Chet Ramey <address@hidden> writes:
> Yes, it's an oversight in the process substitution code. BASH_SUBSHELL
> should be handled the same way it is by asynchronous commands, explicit
> subshells, and command substitution. I have made the simple change and
> it will be fixed in the next release of bash.
Chet, `echo $BASH_SUBSHELL &' and `: | echo $BASH_SUBSHELL' still print 0
in bash-4.4 alpha, is this a problem?
- Re: [Help-bash] Why BASH_SUBSHELL behaves differently in () and <()?,
ziyunfei <=