Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)

Andy Koppe andy.koppe@gmail.com
Tue Mar 8 12:07:00 GMT 2011


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



More information about the Cygwin mailing list