This is the mail archive of the cygwin 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: SIGINT not passed to java process


On Fri, May 18, 2012 at 06:48:56PM +0200, Olivier Lefevre wrote:
>On 5/17/2012 7:23 PM, Christopher Faylor wrote:
>> On Thu, May 17, 2012 at 05:30:26PM +0200, Olivier Lefevre wrote:
>>> On 5/11/2012 7:29 PM, Franz Kettwig wrote:
>>>> After updating to the latest cygwin, my Java processes no longer
>>>> receive SIGINT signals.  [...]
>>>
>>> I can attest that Franz is not the only one with this problem.  I just
>>> upgraded to Cygwin 1.7.15-1 but in vain.  Is a fix in the works?
>>
>> Not from me.  I don't do Java.
>
>python has the same problem. If you send it a Ctrl-C under cmd.com it
>will print "KeyboardInterrupt" whereas under Cygwin it prints nothing.
>Is python more to your taste?

Presumably you are referring to a native windows version of python, since:

  d:\cyginst>bash
  bash-4.1$ python
  Python 2.6.7 (r267:88850, Feb  2 2012, 23:50:20)
  [GCC 4.5.3] on cygwin
  Type "help", "copyright", "credits" or "license" for more information.
  >>> >Hit CTRL-C here<
  KeyboardInterrupt

I know this is an astonishing, maybe even revolutionary idea, but maybe
somebody who wants to use these native windows applications under Cygwin
might want to step up to debug this type of thing.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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