X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100818182412.GA22698@ednor.casa.cgf.cx>
References: <380-220108318145158645@cantv.net>	<20100818150920.GY11340@calimero.vinschen.de>	<4C6C1490.3040202@cwilson.fastmail.fm>	<4C6C1582.1080801@acm.org>	<20100818182412.GA22698@ednor.casa.cgf.cx>
Date: Wed, 18 Aug 2010 19:32:40 +0100
Message-ID: <AANLkTikBTgg9M=xuZ4S2VkNU+Zr=hy3C=_Tr8BPj5baD@mail.gmail.com>
Subject: Re: "run" changes behavior with cygwin-17.6
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On 18 August 2010 19:24, Christopher Faylor wrote:
>>I noticed a similar change in cygstart, too. I used to have a script
>>that would cd to a directory and then run cygstart. After the upgrade to
>>1.7.6, this stopped working. I had to use the --directory switch to
>>cygstart to get the right behavior.
>
> Call me dense but I don't understand why any changes are needed. =C2=A0If
> you're cd'ed to a non-Cygwin-special location why doesn't stuff "just
> work"?

The Win32 working directory is changed to '\\?\PIPE\' at process
startup, otherwise the working directory can't be deleted from under
the process, which you can do on Linux.

Andy

--
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

