From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11905 invoked by alias); 13 Nov 2009 09:33:25 -0000 Received: (qmail 11887 invoked by uid 22791); 13 Nov 2009 09:33:22 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from paste.autodesk.com (HELO paste.autodesk.com) (198.102.112.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Nov 2009 09:33:15 +0000 Received: from smtp.mgd.autodesk.com ([65.54.1.156]) by paste.autodesk.com (8.14.1/8.12.6) with ESMTP id nAD9XDC2025750 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 13 Nov 2009 01:33:14 -0800 (PST) Received: from ADSK-NAMSG-02.MGDADSK.autodesk.com ([65.54.1.154]) by ADSK-TK5MHUB-01.MGDADSK.autodesk.com ([65.54.1.156]) with mapi; Fri, 13 Nov 2009 01:33:13 -0800 From: Lily Gao To: "cygwin-talk@cygwin.com" Date: Fri, 13 Nov 2009 09:33:00 -0000 Subject: About the running environment for Cygwin Message-ID: <082AEC0F05C496449D86020DBFE466156FA2DFF5AA@ADSK-NAMSG-02.MGDADSK.autodesk.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Vulgar and Unprofessional Cygwin-Talk List Mail-Followup-To: cygwin-talk@cygwin.com X-SW-Source: 2009-q4/txt/msg00030.txt.bz2 Hi All, I have a question for a long time. I have cygwin=A0 on my computer. And when I call a windows system command i= n perl(perl installed in cygwin), it called in the cygwin environment. If using perl installed in windows, it called in the windows environment. But are there any ways to manage what environment to run it? For example, e= ven if my perl installed in cygwin, I want one command(like 'net use') in p= erl file to run in windows environment? Best Regards, Lily ACRD PSEB Catapult TD +86-21-38664379 http://showroom.labs.autodesk.com/ AW2165 399 Pudian Road, Pudong New Area=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 Shanghai 200122,=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=20 P.R.China=A0=A0=A0=20