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

Bug related to stdin/always/jobcontrol



Hi,

Stripped down test case for a mysterious loss of child:

zsh 5.2 (x86_64-unknown-linux-gnu)
zsh-5.2-0-gc86c20a
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 29 2016 13:06:04)
Included patches: 1-2207

zsh -f
juno% v() { { vim - } always { true } }
juno% ls | v
^Z
zsh: running    v
juno% jobs -p
[1]    4421 running    v
juno% fg
fg: no current job
juno% fg %1
fg: %1: no such job
juno% kill %1
kill: kill %1 failed: no such process
juno% echo ${jobstates}
suspended::4421=running
juno% ^D
Vim: Caught deadly signal HUP
...

Everything works ok when
- always is not used
- stdin is not used

Thanks,
-- 
Christian Neukirchen  <chneukirchen@xxxxxxxxx>  http://chneukirchen.org



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