delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/08/04:52:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4D7560B6.9030700@towo.net>
References: <4B14573C DOT 3040409 AT alice DOT it> <a13b5a590911301753w74ccf298g669e55fc58d36c50 AT mail DOT gmail DOT com> <20091201091515 DOT GC30043 AT calimero DOT vinschen DOT de> <AANLkTimtUQV5LCymquHFe115JL4S9Ld-GUgdLJbetan8 AT mail DOT gmail DOT com> <4D7560B6 DOT 9030700 AT towo DOT net>
Date: Tue, 8 Mar 2011 09:51:52 +0000
Message-ID: <AANLkTimuxUfs2Z0pTOK73THk7_PAgRuML=JAPTGb6NFC@mail.gmail.com>
Subject: Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 7 March 2011 22:48, Thomas Wolff wrote:
>>>>> Indeed. But a question emerges: what does it happen if one starts a
>>>>> Windows
>>>>> application, which needs TEMP or TMP, from Cygwin?
>
> A Windows application is likely to fail on cygpath-transformed values of
> TEMP and TMP anyway, or am I missing something?
> (E.g. is there some implicit back-transformation if cygwin starts a Windows
> application?)

Yep. The following variables are translated to POSIX format on Cygwin
startup and back to Windows format when invoking a non-Cygwin program:

PATH HOME LD_LIBRARY_PATH TMPDIR TMP TEMP

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

- Raw text -


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