X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: rxvt: Ctrl+C leaves child process of native processes Date: Mon, 30 Oct 2006 12:40:23 -0800 Lines: 14 Message-ID: References: <20061028041609 DOT GA17972 AT trixie DOT casa DOT cgf DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 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/