delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/06/16:04:36

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,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_RX
X-Spam-Check-By: sourceware.org
Message-ID: <4F30405C.9030309@gmail.com>
Date: Mon, 06 Feb 2012 13:04:28 -0800
From: reckoner <reckoner AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Environment variable mixing when starting non-cygwin GVIM from within cygwin terminal?
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

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

- Raw text -


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