On Sun, 11 Dec 2005, J. Milgram wrote:
Is it possible for a child process to set an environment variable in the parent process that launched it? I assumed not because of things like "eval `dircolors ~/.dir_colors`" but maybe someone knows a way (hopefully unix-ly portable).
No, it's definitely not possible to change the environment of a running process (except via libc tricks from inside that running process, and that's not portable at all).
Alexey
