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

signal handling bug



Try

% zsh -c 'trap exit INT ; while true ; do sleep 1 ; done'

It is not interruptible with ^C.  The INT signal terminates the sleep 1
process but zsh ignores this and starts an other sleep.  Without sleep
^C works.  It also works without `trap exit INT' or in interractive shells.

Bye,

Zoltan
 




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