*** ../bash-4.2-patched/subst.c 2012-07-14 15:53:20.000000000 -0400 --- subst.c 2012-12-02 22:26:54.000000000 -0500 *************** *** 5125,5128 **** --- 5129,5136 ---- #endif /* HAVE_DEV_FD */ + /* subshells shouldn't have this flag, which controls using the temporary + environment for variable lookups. */ + expanding_redir = 0; + result = parse_and_execute (string, "process substitution", (SEVAL_NONINT|SEVAL_NOHIST));