delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.9 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4C6C1582.1080801@acm.org> |
Date: | Wed, 18 Aug 2010 10:16:50 -0700 |
From: | David Rothenberger <daveroth AT acm DOT org> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: "run" changes behavior with cygwin-17.6 |
References: | <380-220108318145158645 AT cantv DOT net> <20100818150920 DOT GY11340 AT calimero DOT vinschen DOT de> <4C6C1490 DOT 3040202 AT cwilson DOT fastmail DOT fm> |
In-Reply-To: | <4C6C1490.3040202@cwilson.fastmail.fm> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
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 |
On 8/18/2010 10:12 AM, Charles Wilson wrote: > On 8/18/2010 11:09 AM, Corinna Vinschen wrote: >> Looks like the "run" tool now needs a call to >> >> CYGWIN_CONV_TO_POSIX_PATH ((get_cwd (), win32_cwd)); >> >> and then use win32_cwd in the call to CreateProcess. >> >> See http://cygwin.com/cygwin-ug-net/using.html#pathnames-win32-api > > Yep. run2 also needs a similar update. > > Thanks for the heads up; I didn't really think about how the recent > changes to cygwin's cwd handling would affect those two packages. 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. -- David Rothenberger ---- daveroth AT acm DOT org micro: Thinker toys. -- 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 |