[Top][All Lists]

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

Re: [NEWBIE] exec path not expanding

From: Hugh Wolf
Subject: Re: [NEWBIE] exec path not expanding
Date: Tue, 21 Oct 2003 16:36:25 GMT
User-agent: slrn/ (Darwin)

On 2003-10-21, Robert Pollard <> 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.

2. Launch the app from a Terminal window (via 'open'), not from the
Finder or the Dock.

reply via email to

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