zsh-workers
 help / color / mirror / code / Atom feed
* Quick way to lock up your shell
@ 2008-12-11 17:35 Bart Schaefer
  2008-12-11 17:52 ` Peter Stephenson
  2008-12-11 20:42 ` Dan Nelson
  0 siblings, 2 replies; 5+ messages in thread
From: Bart Schaefer @ 2008-12-11 17:35 UTC (permalink / raw)
  To: zsh-workers

schaefer<501> FOO==(cat)

The shell is now hung forever waiting for a "cat" that will never exit,
because cat's standard input is neither closed nor connected to anything
(expect to the parent zsh, which isn't writing to it).

This happens at least as far back as 4.2.0, so it's not a new problem.

Similar things can happen with <<(cat) except in that case the shell is
not locked up, it has a background job of whose status it loses track.
I haven't figured out exactly how to reproduce that one, but once it
gets that way even killing the job externally will leave zsh believing
that the job is still active (so e.g. "wait" hangs until interrupted).


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

end of thread, other threads:[~2008-12-11 22:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-11 17:35 Quick way to lock up your shell Bart Schaefer
2008-12-11 17:52 ` Peter Stephenson
2008-12-11 18:10   ` Richard Hartmann
2008-12-11 20:42 ` Dan Nelson
2008-12-11 22:55   ` Richard Hartmann

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