Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <4030DBAD.9030308@att.net>
Date: Mon, 16 Feb 2004 10:03:09 -0500
From: David Fritz <zeroxdf@att.net>
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Known feature?
References: <402FFCB8.5030807@tlinx.org> <20040216124105.GE18953@cygbert.vinschen.de>
In-Reply-To: <20040216124105.GE18953@cygbert.vinschen.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Corinna Vinschen wrote:

> On Feb 15 15:11, linda w wrote:
> 
>>I decided to trace a 3 day long running process (the dd/bzip program) 
>>that was
>>nearing completion (had a couple hundred meg to go), and much to my 
>>chagrin,
>>when I wanted to stop tracing, I pressed control-c -- and unlike the 
>>behavior I'm
>>used to in linux, it didn't just terminate the process being traced, but 
>>also
>>terminated the program that had been attached to!
>>
>>Very very much of a bummer, since it takes 3+ days, apparently, to run 
>>and come near
>>to completing this test.  Very, very sad....oh well...
>>
>>Is this a "feature" or a "bug"?
> 
> 
> It's Windows.
> 

Indeed it is.  Though I'd note that Windows XP and later allow debuggers to
detach from a process without killing it. (DebugActiveProcessStop(),
DebugSetProcessKillOnExit()).

PTC et al.

Cheers





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

