Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: Dario Alcocer <alcocer@helixdigital.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15107.48574.351572.174365@coyote.priv.helixdigital.com>
Date: Thu, 17 May 2001 05:02:06 -0700
To: "Anderson, Michael" <manderson@magisnetworks.com>
Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: Re: Troubles setting NT environment variables
In-Reply-To: <07094CF930EBD311AF7900B0D020085150B9EE@ns.magisnetworks.com>
References: <07094CF930EBD311AF7900B0D020085150B9EE@ns.magisnetworks.com>
X-Mailer: VM 6.76 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid

>>>>> "Michael" == Anderson, Michael <manderson@magisnetworks.com> writes:

    Michael> Cygwin is not seeing my newly created NT environment
    Michael> variables.  I have a Perl script that calls a DOS
    Michael> executable (vsim) from the BASH shell.  The NT
    Michael> environment variable I created is not being seen by BASH
    Michael> or DOS using Cygwin. I created the Variable using the
    Michael> User Environment Variable editor under the Advanced tab
    Michael> of the System Properties...

    Michael> Anyone have an idea of what needs to be done for Cygwin
    Michael> to see new Environment Variables?

Have you tried setting %ENV before calling the system command?  I
believe Perl will initialize the child process environment with the
values in %ENV before it runs it.

-- 
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
alcocer@helixdigital.com -- http://www.helixdigital.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

