Re: Life, The Universe, and env variables

From: Enkidu <enkidu@bastardsonofgod.com>
Date: Thu Mar 10 2005 - 19:56:51 AKST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arthur Corliss wrote:
> On Thu, 10 Mar 2005, Enkidu wrote:
>
>

>
>
> If I'm understanding you correctly you want to do:
>
> export FOO=bar
>
> in one shell and have applications running in other consoles be able to
> reference it? The answer, then, is no. Environments are initialised only
> once, and that's when a process starts. Even if you had, say, a background
> process running in your current shell, updating an environment variable in the
> current shell won't be reflected in the background job.
>

This is precisely what I wanted to do. I overlooked using files as a medium,
though. Now I just have to find a good Perl resource... Thanks for your help.

Art Brown
- --
- --
There is in certain living souls
A quality of loneliness unspeakable,
So great it must be shared
As company is shared by lesser beings.
Such a loneliness is mine; so know by this
That in immensity
There is one lonelier than you.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFCMSUTluP6xNRi6jERAnq+AKCajPEq2Jepm4JZnJ7xsvGvpIp/WACeNN8I
tMzpqa73NJDiao6bHZH1FeQ=
=uTME
-----END PGP SIGNATURE-----
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Mar 10 19:52:07 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 10 2005 - 19:52:07 AKST