delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 4 Jan 2006 13:28:12 -0500 |
From: | Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Signals |
Message-ID: | <20060104182812.GA15395@trixie.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
References: | <39130 DOT 205 DOT 158 DOT 232 DOT 66 DOT 1136399127 DOT squirrel AT 205 DOT 158 DOT 232 DOT 66> |
Mime-Version: | 1.0 |
In-Reply-To: | <39130.205.158.232.66.1136399127.squirrel@205.158.232.66> |
User-Agent: | Mutt/1.5.11 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Wed, Jan 04, 2006 at 11:25:27AM -0700, John Buttitto wrote: >I wrote some simeple test code in Java to trap signals. Seems to work >well, I then ported it to cygwin. The code listens for the SIGINT and >prints a message. When I hit Ctrl-C while it is running the proper signal >gets sent and traped. > >I then go to a second shell/Window and do a ps on the process running and >try to send a kill -s SIGINT <pid>. In cygwin this does not work the >process dies with out traping the signal. > >Was wondering if anyone else ran into this and what silly thing I am doing >that causes the issue? Unless SIGINT is trapped in the Cygwin process, Cygwin terminates non-cygwin processes when it receives a CTRL-C. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |