Reputation
495
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 4 17
Impact
~28k people reached

Jun
25
comment In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
Cool background answer! I guess theer is not real way around it in shells, or is there?
Mar
26
asked How can I programmatically read and write the texttone of a Contact in the OSX' Contacts app?
Mar
4
awarded  Famous Question
Feb
11
awarded  Announcer
Jan
31
comment In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
Thanks for the link to the bug report. Good to now it is a real bug. I found another clutch around it; I will post it here.
Jan
20
awarded  Nice Answer
Jan
6
awarded  Nice Question
Nov
25
awarded  Yearling
Nov
18
awarded  Notable Question
Nov
4
awarded  Popular Question
Nov
1
awarded  Announcer
Nov
1
comment In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
@mark Yes, and that is exactly my point, problem and question: How can I set the environment variable PATH of GUI apps themselves when launched via the Finder? Still, no real general solution for this in sight...
Oct
31
revised In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
update with details about the issue
Oct
31
comment In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
@ursa Sorry for my late reply. When I do the four steps you suggest, I get the result you mention, but this does not mean that PATH in Emacs' environment is set correctly, it only shows, that the shell launched by shell-command gets the correct PATH. It's a very puzzleing situation. I will update the question with these details.
Oct
28
revised In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
slightly clarified question
Oct
28
comment In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
Sorry, ursa, for me, even if I use /etc/environment instead of /etc/environment.rc(as file name and referenced in the plists), the PATH in the environment of launched GUI is still /usr/bin:/bin. In Carbon Emacs, launched via double click in finder(!) and without a .emacs file, check the value of exec-path or process-environment.
Oct
28
revised In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
clarifications
Oct
28
comment In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
This does only work for shells which call /usr/libexec/path_helper during their initialisation process. GUI apps do not get the PATH according to /etc/paths - and I asked specifically about GUI apps.
Oct
28
asked In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH
Oct
28
revised Setting up environment variables for GUI apps?
Yosemite warning