delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 10 May 2012 12:30:30 +0400 |
From: | Andrey Repin <anrdaemon AT freemail DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <1211135919.20120510123030@mtu-net.ru> |
To: | Daniel Colascione <dancol AT dancol DOT org>, cygwin AT cygwin DOT com |
Subject: | Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process |
In-Reply-To: | <4FA6E1EC.1000603@dancol.org> |
References: | <20120505083518 DOT GA2428 AT calimero DOT vinschen DOT de> <A1960FFE0F9B444B8512E826965B70763A934CE68A AT ESESSCMS0362 DOT eemea DOT ericsson DOT se> <20120506200951 DOT GB11611 AT ednor DOT casa DOT cgf DOT cx> <4FA6E1EC DOT 1000603 AT dancol DOT org> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Greetings, Daniel Colascione! >> [cmd /c start foo not going into the background] >> It is not likely to change. > What worries me isn't that the behavior changed, but that the new > behavior is weird. SIGINT doesn't work on processes spawned by cmd /c > start. > Try it yourself: > $ cmd /c start notepad > The weird thing is that cmd seems to have a PID, but sending a signal > to this process fails with ESRCH --- except for sending signal 0, > which succeeds. That's expected - non-cygwin applications don't know anything about signals. Even if, for example, SIGKILL would work on cmd (forcefully terminating it), Notepad will stay. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 10.05.2012, <12:28> Sorry for my terrible english... -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |