Re: Process-substitution FDs closed prematurely

2012-11-07 Thread Chet Ramey
On 11/6/12 7:09 AM, Zev Weiss wrote: > Bash Version: 4.2 > Patch Level: 39 > Release Status: release > > Description: > > It seems that when bash passes (the expanded form of) a > process substitution to a function and that function then uses > the argument in a pipeline, the f

Process-substitution FDs closed prematurely

2012-11-06 Thread Zev Weiss
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknow uname output: Linux hatter.bewilderbeest.net 3.4.4-2-ARCH #1 SMP P