X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: ahmed hassan <scamper_22@hotmail.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
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

