[Top][All Lists]

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

Re: shell environment variables

From: Stefan Monnier
Subject: Re: shell environment variables
Date: Fri, 10 Oct 2003 15:05:27 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> Ran into a minor problem. I have a Perl program in emacs. In the shell
I see no reason to assume there's only one shell.

> I create a new environment variable (properly exported, of course). I do
> an  M-x perldb to run the program. I cannot get the value of that new
> environment variable when the program runs.

"the" shell is probably not the shell from which you started Emacs.
Each and every process has its own set of environment variables and
they are only copied from parent to child when a process is spawned.

If you use M-x setenv from Emacs, things should work better.


reply via email to

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