bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no reliable way to have SIGINT exit a script?


From: Paul Jarc
Subject: Re: no reliable way to have SIGINT exit a script?
Date: Tue, 10 Sep 2002 11:25:57 -0400
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

address@hidden wrote:
> I have tried trap cmd 2 with the cmd being exit, break, kill $$, kill -1 $$,
> kill -9 $$, kill -0 $$, and a function that uses the ${nonexistent:?}
> construct in desperation.  None of them does the simple thing that I want.

I wouldn't expect break to work, but if the others don't work, I'd
guess that bash isn't being sent SIGINT.  Do a system call trace to
check.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]