Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4174EDE7.6030503@iml.univ-mrs.fr> Date: Tue, 19 Oct 2004 12:35:19 +0200 From: Antoine Rauzy User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.0.2) Gecko/20030208 Netscape/7.02 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Capture of the signal SIGINT under Windows XP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Problem with the capture of the signal SIGINT under Windows XP: I develop a program in C++ using Visual C++. This program captures interruptions, that is SIGINT signals generated with a CTRL-C when the program is executed in a cygwin bash interpreter. Under Windows 2000, the signal is sent only to the program, so the capture works fine. Under Windows XP, it seems that the signal is sent not only to the program, but also to the bash interpreter (or I don't know what else), causing the program exit. Note that I use exactly the same Visual C++ project to compile the program under both 2000 and XP. Could someone help me to understand and fix that problem ? Best regards -- Antoine Rauzy -- Antoine RAUZY Institut de Mathématiques de Luminy tel+fax +33 4 91 26 96 34 163, avenue de Luminy, Case 907 mobile +33 6 89 98 95 06 13288 Marseille CEDEX 9 FRANCE email : arauzy AT iml DOT univ-mrs DOT fr -- 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/