Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: D03 test hang on cygwin with latest sources



On 2008-11-24 at 17:32 +0000, Peter Stephenson wrote:
> Right, the behaviour isn't new.  It seems as if the subprocess is
> reading EOF from the input.
> 
> % foo() { print $1; print hello >$1; [[ -e $1 ]] || print Ouch! }
> % foo >(sleep 1; read foo || print Failed)
> /proc/self/fd/12
> Failed

...% zsh -f
redoubt% echo $ZSH_VERSION 
4.3.6
redoubt% foo() { print $1; print hello >$1; [[ -e $1 ]] || print Ouch! } 
redoubt% foo >(sleep 1; read foo || print Failed)
/tmp/zshQCDdM0
redoubt%

Looks like a regression after all.
-Phil



Messages sorted by: Reverse Date, Date, Thread, Author