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
- X-seq: zsh-workers 20809
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- To: "Matthias B." <msbREMOVE-THIS@xxxxxxxxxxxxxxx>
- Subject: Re: trap .. EXIT doesn't execute when exit is due to a signal
- Date: Sat, 12 Feb 2005 15:04:29 -0600
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20050212122658.4ae2739b@buddha>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20050212122658.4ae2739b@buddha>
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