|
From: | Robert Pollard |
Subject: | Re: [NEWBIE] exec path not expanding |
Date: | Tue, 21 Oct 2003 14:39:24 -0700 |
Hey Hugh, On Tuesday, October 21, 2003, at 09:36 AM, Hugh Wolf wrote:
On 2003-10-21, Robert Pollard <rpollard@apple.com> wrote:Technically, I don't start Emacs from a shell since it is a Mac OS X app but in a round about way it starts from my home, which does have the expanded versions of the path names.If you launch emacs from the Finder or the Dock, it will be running in an environment in which no shell rc or login rc has ever run. As a result, the value of PATH at will always be the default. If you want PATH or any other environment variable to have a non-default value in an osx application, you have two choices: 1. Define the variable in ~/.MacOSX/environment.plist.
The PATH variable is defined in the environment.plist file. The following entry is in the file:
<key>PATH</key> <string>/$SYBASE/$SYBASE_OCS/bin:$SYBASE/$SYBASE_ASE/bin:$PATH</string>Obviously, it is not understanding the environment variables here. Is there a way that you are aware of to make OS X read the variables from the environment to help define a variable or add to a variable as in the above entry?
Thanks for your input, Robert
2. Launch the app from a Terminal window (via 'open'), not from the Finder or the Dock. _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
[Prev in Thread] | Current Thread | [Next in Thread] |