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

Re: trap .. EXIT doesn't execute when exit is due to a signal



In the last episode (Feb 12), Matthias B. said:
> trap ... EXIT doesn't execute ... when the shell is terminated due to
> a signal (e.g. Ctrl-C). I think this is a bug. It's certainly
> undesirable, because it causes cleanup tasks to not be executed. Bash
> doesn't have this problem.

zsh-users 3513 describes what is happening here, I think.  Ash and
/Solaris bin/sh have the same behaviour.

-- 
	Dan Nelson
	dnelson@xxxxxxxxxxxxxxx



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