delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/27/12:05:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=BAYES_20,FORGED_HOTMAIL_RCVD2,J_CHICKENPOX_41,J_CHICKENPOX_48,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: ahmed hassan <scamper_22 AT hotmail DOT com>
Subject: cygwin launch process using windows environment
Date: Mon, 27 Jul 2009 16:00:51 +0000 (UTC)
Lines: 20
Message-ID: <loom.20090727T160006-564@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
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

Hi all,
 
Sometimes when using cygwin shell (bash), I want to open up a windows explorer
window or command prompt from that location.  However, when I do that, the
process launches with the environment inherited from the cygwin shell.
 
For a variety of reasons, this causes issues.
 
Is there someway to launch processes from the cygwin shell without bringing in
the cygwin environment?
 
For example:
 
-PATH=A,B,C,D
-Launch cygwin.  PATH=CYGPATHS,A,B,C,D
    -Launch explorer.exe PATH=A,B,C,D. (this is what I want)
 
Right now, when I launch explorer, it uses PATH=CYGPATHS,A,B,C,D.
 
I hope this question is clear.


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