Article View: gnu.emacs.help
Article #188724emacs and sub-process environments
From: Drew Mills
Date: Wed, 19 Jun 1991 19:40
Date: Wed, 19 Jun 1991 19:40
19 lines
1440 bytes
1440 bytes
--
The Lisp Ref Manual says that sub-processes inherit the environment from
emacs with overrides coming from the variable 'process-environment'. I can
eval (getenv "PATH") just fine (and so with several other environment
variables) but when I eval
(process-send-string tempproc "set\n")
I only get this real small set of variables. My sub-process is ksh.
Sending 'echo $PATH' predictably returns a blank as well.
What environment is my subprocess 'supposed' to inherit? It certainly doesn't
have much of one now.
__________________________________________________________________________
| Drew Mills |
| ...Consider yourself a disclaimee |
| |
|__________________________________________________________________________|
Technical Details
Message-ID:
<1991Jun19.194050.23053@infonode.ingr.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!infonode!drew!drewShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,fc06418bab3a4383,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-06-20 02:26:30 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!infonode!drew!drew From: drew@drew.ingr.com (Drew Mills) Newsgroups: gnu.emacs.help Subject: emacs and sub-process environments Keywords: environment variables Message-ID: <1991Jun19.194050.23053@infonode.ingr.com> Date: 19 Jun 91 19:40:50 GMT Sender: usenet@infonode.ingr.com (Usenet Administrator) Reply-To: drew@drew.b17a.ingr.com Organization: Intergraph Corporation, Cartographic Applications Lines: 19