[gnu.emacs] exec-path and process-environment in gnu-18.53

mlm@cs.brown.edu (04/25/89)

Elisp Gurus,

I am using gnuemacs distribution 18.53, and i need to change the PATH
used when emacs spawns subprocesses.  Specifically, i want the compile
library to use one of two paths, depending on which source directory i
am compiling in.  Changing the exec-path has proved futile so far, so
i'd sure appreciate some help.  I have changed both exec-path and
process-environment to no avail.  Whenever i start up a process, it
always inherits the environment of the original emacs.  Is there no
way to change the environment of an already-executing emacs?

The simplest way to observe this is to change exec-path and/or
process-environment by hand and then start up a shell from within
emacs and say 'echo $PATH'.  Emacs seems to have completely ignored
the changes made to the elisp environment.

Oh well,
-matt
_________________________________________________________________________
{ decvax,ihnp4,allegra,uunet }! brunix ! mnp      Matthew Nicholas Pappas
or mnp @ {cs.brown.edu, browncs.bitnet }                Brown University