Instead of making a proper *nix box, those bright fellas at apple had to go make this frankenfiend of mac and *nix called OS X. Anyhoo, when you launch a mac os x app it can't see the environment variables defined in
From the apple's mouth we see that we can "...define the variables in a Terminal session and then launch the application from the same session. When launched from Terminal, the application inherits the session settings, including any environment variables defined there." which works on 10.5.4
.bash_profile
or .cshrc
. This came to my attention as I struggled with running Unison over dhcp (my local hostname kept changing, setting the UNISONLOCALHOSTNAME variable did not help - see thread).From the apple's mouth we see that we can "...define the variables in a Terminal session and then launch the application from the same session. When launched from Terminal, the application inherits the session settings, including any environment variables defined there." which works on 10.5.4
Comments
Post a Comment