X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Message-ID: <4C6D2FB5.5080601@cwilson.fastmail.fm> Date: Thu, 19 Aug 2010 09:20:53 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: "run" changes behavior with cygwin-17.6 References: <20100818182412 DOT GA22698 AT ednor DOT casa DOT cgf DOT cx> <20100818185421 DOT GC22698 AT ednor DOT casa DOT cgf DOT cx> <20100818191340 DOT GB11340 AT calimero DOT vinschen DOT de> <20100818191906 DOT GD22698 AT ednor DOT casa DOT cgf DOT cx> <20100818192238 DOT GA27567 AT ednor DOT casa DOT cgf DOT cx> <20100818193446 DOT GC11340 AT calimero DOT vinschen DOT de> <20100818194152 DOT GE11340 AT calimero DOT vinschen DOT de> <4C6C39A8 DOT 6000402 AT cwilson DOT fastmail DOT fm> <20100818201745 DOT GH11340 AT calimero DOT vinschen DOT de> <20100819104833 DOT GU11340 AT calimero DOT vinschen DOT de> In-Reply-To: <20100819104833.GU11340@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 8/19/2010 6:48 AM, Corinna Vinschen wrote: > I applied the patch which adds the CW_SYNC_WINCWD code and I updated > the documentation accordingly. > > I uploaded the rewritten chapter about using the Win32 file API here: > > http://cygwin.de/cygwin-ug-177/using.html#pathnames-win32-api > > Please have a look. The commentary about the errno values is duplicated. Other than that, it seems clear. I have one question, specifically as it relates to run/run2/cygstart: these apps use CreateProcess. In the documentation, you say: > If you need a valid Win32 CWD only for a child application started > via CreateProcess and friends, you don't have to set your own Win32 > CWD. In that case, just utilize the lpCurrentDirectory parameter. See > the description of the CreateProcess function in the MSDN manual > pages. But earlier in this thread, you suggested that run/run2/cygstart should use the new CW_SYNC_WINENV. Which is it? > As for the documentation about CW_SYNC_WINENV, it's already in the > "official" docs at > > http://cygwin.com/cygwin-ug-net/setup-env.html#setup-env-win32 Thanks. -- Chuck -- 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