X-Recipient: archive-cygwin@delorie.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@dancol.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@cygwin.com
Subject: Re: 1.7.13/1.7.14: Issue with command prompt not returning when forking process
References: <20120505083518.GA2428@calimero.vinschen.de> <A1960FFE0F9B444B8512E826965B70763A934CE68A@ESESSCMS0362.eemea.ericsson.se> <20120506200951.GB11611@ednor.casa.cgf.cx>
In-Reply-To: <20120506200951.GB11611@ednor.casa.cgf.cx>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4FBB6863770F93B8DF09D412"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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--
