Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3C027D3F.8D7E96C3@research.att.com>
Date: Mon, 26 Nov 2001 12:34:55 -0500
From: "Gregory W. Bond" <bond@research.att.com>
Organization: AT&T Labs - Research, Florham Park, NJ
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: killing Win32 apps from bash (and ash)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

As a follow-up to my initial posting: this problem does *not* occur when
I run the Win32 app from an ash ("sh") shell (whose parent shell is
*not* a bash shell) i.e. signals are propagated to the Win32 app by ash,
but not by bash. bucweat_20657 at yahoo.com, who posted messages about
the same problem back in August, informs me that this is considered to
be a feature of Cygwin's bash, not a bug, although the rationale is lost
on us, particularly since there is inconsistent behavior between ash and
bash. So, AFAIK, there is no "fix" since this is the accepted behavior
of bash.


"Gregory W. Bond" wrote:
>
> I'm running into this problem with the latest cygwin distro (updated
> today just to be sure). The problem occurs when I run Win32 java
> programs from a bash shell. The java programs have shutdown hooks that

> don't get executed when I kill the process (using 'kill' or ^C),
however
> they do get executed when I ^C from a Windows command shell. Is this
the
> expected behavior, or is this a bug?
>
> Greg.
> --
Gregory W. Bond
AT&T Labs - Research
180 Park Avenue, Rm. D273, Bldg. 103
P.O. Box 971, Florham Park, NJ, 07932-0971, USA
tel: (973) 360 7216 fax: (973) 360 8187



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

