delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/19/09:21:35

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 <cygwin AT cwilson DOT fastmail DOT fm>
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> <AANLkTikBTgg9M=xuZ4S2VkNU+Zr=hy3C=_Tr8BPj5baD AT mail DOT gmail DOT com> <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>
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/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

- Raw text -


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