News for hackers. Stuff that matters.
Re:Using Unix as an IDE (2012) by laumars on Thursday June 21, 2018 @10:49AM (#17365648)
> To read the environment variables used by a program

This is only the environmental variables used when the program launches. If said program changes any environmental variables during the course of it's execution then /proc/$pid/environ wouldn't be updated to reflect that.

I expect you're already aware of this but it's worth me mentioning just in case anyone reading this thread wasn't aware.

There are no comments on this comment yet.