zsh-workers
 help / color / mirror / code / Atom feed
* :|: =(hang)
@ 2018-04-07 22:25 Oliver Kiddle
  2018-04-08 20:24 ` Bart Schaefer
  2018-04-11 22:15 ` Bart Schaefer
  0 siblings, 2 replies; 3+ messages in thread
From: Oliver Kiddle @ 2018-04-07 22:25 UTC (permalink / raw)
  To: Zsh workers

The following hangs the shell which seems like a bug to me:
  zsh -f
  % echo hi | echo =(notfound)
  zsh: command not found: notfound
kill -9 is needed at this point.

Putting the not found command in the other place also hangs things:
  % notfound | echo =(echo hi)
  zsh: command not found: notfound
  /tmp/zshWEjDri

Two command substitutions but no pipe seems to be fine, e.g : =(notfound) =(:)

This behaviour isn't new. And as it isn't a regression, I wouldn't hold
up 5.5 or anything.

Oliver


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

* Re: :|: =(hang)
  2018-04-07 22:25 :|: =(hang) Oliver Kiddle
@ 2018-04-08 20:24 ` Bart Schaefer
  2018-04-11 22:15 ` Bart Schaefer
  1 sibling, 0 replies; 3+ messages in thread
From: Bart Schaefer @ 2018-04-08 20:24 UTC (permalink / raw)
  To: Zsh workers

On Apr 8, 12:25am, Oliver Kiddle wrote:
} Subject: :|: =(hang)
}
}   zsh -f
}   % echo hi | echo =(notfound)
}   zsh: command not found: notfound
} kill -9 is needed at this point.

I don't suppose this is fixed by workers/42516 ?  Which has other, but
more difficult to induce, difficulties.


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

* Re: :|: =(hang)
  2018-04-07 22:25 :|: =(hang) Oliver Kiddle
  2018-04-08 20:24 ` Bart Schaefer
@ 2018-04-11 22:15 ` Bart Schaefer
  1 sibling, 0 replies; 3+ messages in thread
From: Bart Schaefer @ 2018-04-11 22:15 UTC (permalink / raw)
  To: Zsh workers

On Apr 8, 12:25am, Oliver Kiddle wrote:
} Subject: :|: =(hang)
}
} The following hangs the shell which seems like a bug to me:
}   zsh -f
}   % echo hi | echo =(notfound)
}   zsh: command not found: notfound
} kill -9 is needed at this point.

Hmm, "kill -1" worked for me.

In any case this is NOT fixed by workers/42619 or anything else in the
"echo | ps -j $(:)" thread.


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

end of thread, other threads:[~2018-04-11 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-07 22:25 :|: =(hang) Oliver Kiddle
2018-04-08 20:24 ` Bart Schaefer
2018-04-11 22:15 ` Bart Schaefer

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).