I was using the method described in this post to invoke "launchctl setenv" to set environment variables globally. I have just upgraded to OS X 10.11 "El Capitan," and now I see that the launchctl command works fine, but appears to have no effect on the actual environment. For example, here is the output from some debug code I stuck into a "make" file running under Eclipse:
launchctl getenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/opt/ecos/gnutools/h8300-elf/bin:/opt/ecos/gnutool s/arm-elf/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin
echo "PATH = /usr/bin:/bin:/usr/sbin:/sbin"
PATH = /usr/bin:/bin:/usr/sbin:/sbin
Anyone have any idea what's happening to me? Thanks in advance.
echo $PATH
and do you mean setenv rather than getenv – mmmmmm Nov 16 '15 at 13:29What I was trying to do is to include the path for a cross-paltform gcc toolset, so Eclipse could find it. t
– Philip Keller Dec 31 '15 at 16:27