delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/28/12:00:19

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:subject:message-id
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=DdhoHEBHsshg8Lo0
v0bgDEmdyQwYrcduPMS474MhZ14aRspNG4PhwE4yR8ji9/p2TWS0SkBM+x1W6yd9
WcL68OHaY0pBz5eGUtMUvhNng3ogi1XSfTzDAzaFUo3BqdnLa73+72fN+34xRAS/
F3bptpsSXOMJLcJpTppgPRIh0sA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:subject:message-id
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=2wOyH/FE7p97K//RvBNZbx
6OIds=; b=vSWwMznshGhjObLQLw74x2xeVeWc8GDuKf18mfmHmn9meG2GrgiRhc
jyIU9qrZOhmBfqnS9LM5MxXniEIEzsN4rmtd3sYBGOOrAHnOGV8ArkJoEzRXpn56
t906xEzCQu9pwPaaMJNufzEwthjnmf9TkodfBAfq+erNCPM6fAOjE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=Wednesday, wednesday, H*UA:Win32, hear
X-HELO: zmcc-2-mx.zmailcloud.com
Date: Wed, 28 Aug 2019 08:59:24 -0700
From: Quanah Gibson-Mount <quanah AT symas DOT com>
Reply-To: Quanah Gibson-Mount <quanah AT symas DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug report: Killing a native process may not actually kill it
Message-ID: <A144BE6484AF1CE6C124CD92@[192.168.1.144]>
In-Reply-To: <20190828154553.GQ11632@calimero.vinschen.de>
References: <D2D1E09243A3854178C12845@[192.168.1.39]> <DA9B3D3B0A3DE3E5A4720981@[192.168.1.144]> <20190828154553 DOT GQ11632 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes


--On Wednesday, August 28, 2019 6:45 PM +0200 Corinna Vinschen 
<corinna-cygwin AT cygwin DOT com> wrote:

> Not likely.  Cygwin handles Ctrl-C by generating SIGINT.  This only
> works reliably with Cygwin processes.  There's
>
>   $ /bin/kill -f <PID>
>
> to call the Win32 function TerminateProcess(pid) on a non-Cygwin
> process or an unresponsive Cygwin process.

As I noted, it was not unique to control-C.  In any case, unfortunate to 
hear that Cygwin will not address this issue.  kill -f is clearly not 
desirable for doing a clean shutdown of a process.

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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