delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/12/14:02:26

X-Spam-Check-By: sourceware.org
Message-ID: <1171306916.45d0b9a4b8019@imp.free.fr>
Date: Mon, 12 Feb 2007 20:01:56 +0100
From: hermitte AT free DOT fr
To: Matthew Woehlke <mw_triad AT users DOT sourceforge DOT net>
Cc: cygwin AT cygwin DOT com
Subject: Re: POSIX->Windows conversion for vars other than PATH, etc?
References: <eqq8nj$l6k$1 AT sea DOT gmane DOT org>
In-Reply-To: <eqq8nj$l6k$1@sea.gmane.org>
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2.5
X-IsSubscribed: yes
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

Hello,

Matthew Woehlke <mw_triad AT users DOT sourceforge DOT net> wrote:

> ...is there a way to tell Cygwin that variables other than PATH, etc
> (i.e. arbitrary, user-specified variables) should be converted from
> POSIX format to Windows format when spawning a non-POSIX application?

There is an option in cyg-wrapper.sh [1] to convert some simple environment
variables from POSIX to Windows format.

NB: the current version of cyg-wrapper.sh calls cygpath with the option "-l"
which is incorrectly handled by the current version of cygpath (I suppose this
is tied to the regression discussed today on the list, you can patch my script
in the mean time and replace "-wl" by "-w").

[1] http://hermitte.free.fr/cygwin/#Win32

HTH,

-- 
Luc Hermitte
http://hermitte.free.fr/cygwin/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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