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 Reply-To: Andrey Repin Message-ID: <1211135919.20120510123030@mtu-net.ru> To: Daniel Colascione , 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> <20120506200951 DOT GB11611 AT ednor DOT casa DOT cgf DOT cx> <4FA6E1EC DOT 1000603 AT dancol DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 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