delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/30/15:47:30

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankarunni AT netscape DOT net>
Subject: Re: rxvt: Ctrl+C leaves child process of native processes
Date: Mon, 30 Oct 2006 12:40:23 -0800
Lines: 14
Message-ID: <ei5nvk$b7b$1@sea.gmane.org>
References: <e4d6a34d0610271740w62df0aa3l8da64ee19cc90cbf AT mail DOT gmail DOT com> <20061028041609 DOT GA17972 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.3.0
In-Reply-To: <20061028041609.GA17972@trixie.casa.cgf.cx>
X-IsSubscribed: yes
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

Christopher Faylor wrote:

>> When I hit ^C, bash and cmd exit immediately leaving perl and the two
>> java processes.
> 
> Cygwin has no way of knowing what the children of non-cygwin
> subprocesses are.  So, as you've found, if you don't use a Cygwin
> program, you won't get linux-like signal results.  This shouldn't be
> *too* surprising.

The best way to avoid such surprises is NOT to use .BAT files in your 
app stack. As long as you have all cygwin processes in the process tree 
(it's OK for the leaf processes to not be cygwin, though), the ^Cs 
should get passed down as expected.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019