This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Incomplete environ when running MinGW apps?


-----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]