X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Shankar Unni <shankarunni@netscape.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@mail.gmail.com> <20061028041609.GA17972@trixie.casa.cgf.cx>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

