This is the mail archive of the
mailing list for the Cygwin project.
Re: bash/cmd CTRL-C problem...
On Wed, Jan 09, 2002 at 11:57:04AM +1100, Robert Collins wrote:
>----- Original Message -----
>From: "Christopher Faylor" <email@example.com>
>> So, I think the easiest fix for the current problem is just to do a
>> 'signal (SIGINT, SIG_IGN)' prior to calling CreateProcess, restoring
>> the previous signal handler if the CreateProcess fails.
>You do realise, that thats what I've done, but via the more efficient
>way of returning TRUE to the signal.
Sure. I understand what you are doing. It usually only takes me a
couple of tries to "get it".
I'm specifically trying not to do the "TRUE" thing, though, since AFAICT
it isn't always appropriate.
For the record, I really appreciate your tracking this down. I finally
understand the issues here. These issues have been around for a long time
and the problems that you uncovered are probably responsible for some
longstanding cygwin strangeness.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html