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 Subject: cygwin launch process using windows environment Date: Mon, 27 Jul 2009 16:00:51 +0000 (UTC) Lines: 20 Message-ID: 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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