zsh-workers
 help / color / mirror / code / Atom feed
* Re: bug with for and |&
@ 2000-12-19 13:48 Sven Wischnowsky
  2000-12-22  7:01 ` Andrej Borsenkow
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Wischnowsky @ 2000-12-19 13:48 UTC (permalink / raw)
  To: zsh-workers


Peter Stephenson wrote:

> The problem is general to cases where a current-shell construct on the left
> of the pipeline contains an external command.  It doesn't matter what's on
> the right of the pipeline.  The code on the left seems to be executing all
> right.
> 
> % exec 3>&2
> % { ls; print Finished >&3 } |& cat
> Finished
> 
> and it hangs in zwaitjobs, waiting for the job to finish, which it never
> does.  Change `ls' to `print foo' and the problem goes away.

Rats. I still can't reproduce it, neither with (on Linux), nor without 
(on DU) the patch. So I guess there must be some kind of race
condition somewhere...


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-12-22  7:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1001218181948.ZM20470@candle.brasslantern.com>
2000-12-19 10:33 ` bug with for and |& Peter Stephenson
2000-12-19 12:36   ` Peter Stephenson
2000-12-19 13:48 Sven Wischnowsky
2000-12-22  7:01 ` Andrej Borsenkow

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).