This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash/cmd CTRL-C problem...



===
----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.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.

> That doesn't solve the double sending of CTRL-Cs but that's a separate
> problem, I think.

Yes.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]