Environment variable mixing when starting non-cygwin GVIM from within cygwin terminal?

reckoner reckoner@gmail.com
Mon Feb 6 21:04:00 GMT 2012


Hi,

I usually start the non-cygwin gvim.exe via the rxvt cygwin console 
doing something like:

% gvim filename.py

the problem is that, when inside GVIM, when I do:

:py print os.environ['PATH']

I see a lot of cygwin paths which messes up the Python path that GVIM 
wants to use. Is there a way to start gvim.exe so that this doesn't 
happen? Note that I can avoid this situation by starting GVIM in a plain 
vanilla CMD window, or from a standard window shortcut, instead of using 
the cygwin terminal.

This is on Windows XP Professional Ver 5.1 Build 2600 Service Pack 3.


Thanks!



--
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