Users browsing this thread: 2 Guest(s)
pranomostro
Long time nixers
Interestingly enough, on plan 9 environment variables are also files in a directory, /env. This
makes commands like printenv obsolete (ls /env).

Basically, they are inherited into the new namespace when the process changes (unless one
configures the namespace with rfork).

There are some weird rules how environment variables with special names are inherited,
but unfortunately, I can't remember the exact rules.

Edit: See also http://man.cat-v.org/plan_9/3/env


Messages In This Thread
Environment Variables - by venam - 24-07-2016, 06:38 AM
RE: Environment Variables - by venam - 24-07-2016, 06:38 AM
RE: Environment Variables - by pranomostro - 24-07-2016, 07:40 AM