[Xquartz-dev] Environment passed to Applications-launched processes

Brian Bender zt4q4o402 at sneakemail.com
Fri Aug 29 06:17:39 PDT 2008


Hi Jeremy,

I wouldn't say it's worth holding up the release process, but I
noticed something about the latest prereleases and environment
variables  --  X11.app doesn't seem to be inheriting the same
environment as other Aqua apps (or it's at least not passing it to
processes it starts from the Applications menu). I have a couple of
shell scripts as entries in X11's Application menu, and they don't
work any more (they launch programs that are in /usr/local/bin). I
dumped the environment to a file from one script, and it's very bare,
PATH only includes "/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin". From
my /etc/paths and /etc/paths.d, it should also have
"/usr/local/bin:/usr/local/sbin:$HOME/bin:/Developer/Tools:/opt/local/bin:/opt/local/sbin".

I'm not sure how far back, but it did pass the full Aqua environment
fairly recently.

-- 

Brian


More information about the Xquartz-dev mailing list