delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
X-Authority-Analysis: | v=1.0 c=1 a=ma33b1DcOegA:10 a=xe8BsctaAAAA:8 a=T0UG0PZJUTqYPl9Jes0A:9 a=9a__BVY_iF7QY4dPvBlWw1QEmq0A:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 |
Message-ID: | <47AB17C3.2030608@byu.net> |
Date: | Thu, 07 Feb 2008 07:37:55 -0700 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com, sa212+mingw AT cyconix DOT com |
Subject: | Re: Incomplete environ when running MinGW apps? |
References: | <47AB1384 DOT 80600 AT cyconix DOT com> |
In-Reply-To: | <47AB1384.80600@cyconix.com> |
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 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Paul Leder on 2/7/2008 7:19 AM: | Hi - | | I'm having a problem reading bash environment variables when running a | MinGW app on Cygwin's bash. I'm trying this on the MinGW list as well, | but no luck so far. The basic problem is that SHELL is not visible in | environ (or from getenv) on the app, even thought the program was | launched from bash, where SHELL has the value /bin/bash. Does that sound | familiar to anyone? Bash has two variable namespaces - shell variables, and environment variables. Are you sure SHELL was exported to the environment, and not just in the bash shell variable namespace? - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net volunteer cygwin bash maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHqxfD84KuGfSFAYARAiJ1AKCEqdudB+9LZTYfsWJnnOXW16go8gCdFTOT zmEpTVHV50jp8Pr6jY0KYys= =fP1g -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |