420 reputation
414
bio website
location
age
visits member for 3 years
seen yesterday

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
Oct
28
answered Setting up environment variables for GUI apps?
Oct
27
answered Why can't I control environment variables via /etc/environment?
Sep
14
awarded  Popular Question
Jul
2
awarded  Curious
Jun
16
comment In Mountain Lion why do remote shells via ssh do NOT inherit the environment of the launchd parent process?
Peer-review passed - answer now more helpful. :-)
Jun
10
revised In Mountain Lion why do remote shells via ssh do NOT inherit the environment of the launchd parent process?
added info from quoted answer
Jun
10
comment In Mountain Lion why do remote shells via ssh do NOT inherit the environment of the launchd parent process?
Good idea: I've just tried to add this info from the other answer in - but it needs to be peer reviewed...