help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NEWBIE] exec path not expanding


From: Kevin Rodgers
Subject: Re: [NEWBIE] exec path not expanding
Date: Tue, 21 Oct 2003 17:34:34 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Robert Pollard wrote:

On Tuesday, October 21, 2003, at 09:36 AM, Hugh Wolf wrote:
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>


Since $SYBASE starts with /, you probably don't want that initial slash.


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?


--
Kevin Rodgers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]