comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to set environment variables in IDLDE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to set environment variables in IDLDE [message #74392] Tue, 11 January 2011 21:13 Go to previous message
mankoff is currently offline  mankoff
Messages: 131
Registered: March 2004
Senior Member
On Jan 11, 4:49 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Jan 11, 10:35 pm, mankoff <mank...@gmail.com> wrote:
>
>>> But it does work if you start idlde from the terminal, right? So it
>>> would not be an issue with the DE, it would be in the shortcut.
>
>> It does work when launched from the terminal. It isn't an IDL issue
>> per se, but an issue with the way Mac passes environment inheritance.
>
> Could it be that the variables were set in .profile after the current
> desktop session started running? In GNOME, I noticed that processes
> started from the menus are given a copy of the environment variables
> as they were when the GNOME process was started. Which can make things
> quite confusing, as a process may get variables that are not set in
> the current .profile and *rc files anymore.

I logged out/in and even rebooted after setting up environment
variables, and they are just not read from the UNIX dot files. This is
known behavior on OS X, and using ~/.MacOSX/environment.plist is a
known solution, although a buggy solution in this case. Adding/
adjusting the environment variable in the IDL startup file works fine.

-k.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLdoc 3.3.1 bug fix release
Next Topic: FFT of gaussian

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:22:38 PDT 2025

Total time taken to generate the page: 0.00404 seconds