[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reading environment variables
From: |
Barry Margolin |
Subject: |
Re: reading environment variables |
Date: |
Thu, 03 Jan 2008 20:24:31 -0500 |
User-agent: |
MT-NewsWatcher/3.5.3b2 (PPC Mac OS X) |
In article <9q1w8znwho.fsf@aquin.mat.univie.ac.at>,
Martin Rubey <axiomize@yahoo.de> wrote:
> Dear gnu emacs gurus,
>
> I'm trying to get hold of an environment variable a process sets that I'm
> starting with make-comint.
>
> I know of getenv, but that doesn't seem to do the right thing: as far as I can
> see it only knows about variables that affect emacs, rather than a given
> process.
>
> Unfortunately, the value of this variable decides how emacs will communicate
> with the subprocess, therefore I cannot really ask the process about the
> value... Well, maybe I can somehow, but I'm hoping for an easy way.
I don't think there's any general mechanism to look up variables in
another process's environment. This is a limitation in most OSes, not
anything particular to Emacs.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***