delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/06/16:42:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4FA6E1EC.1000603@dancol.org>
Date: Sun, 06 May 2012 13:41:16 -0700
From: Daniel Colascione <dancol AT dancol DOT org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process
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>
In-Reply-To: <20120506200951.GB11611@ednor.casa.cgf.cx>
X-IsSubscribed: yes
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

--------------enig4FBB6863770F93B8DF09D412
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 5/6/12 1:09 PM, Christopher Faylor wrote:
> [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.

By the way: before I dig through the changelog --- what code had to
change?


--------------enig4FBB6863770F93B8DF09D412
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk+m4e0ACgkQ17c2LVA10VvS9ACfYS08HulgUEXzgQ2vtyHQGpek
xPwAnA2+XJr9+aGGOR7G7mGBBaaN9NKF
=Agxs
-----END PGP SIGNATURE-----

--------------enig4FBB6863770F93B8DF09D412--

- Raw text -


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