lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Philippe Lhoste wrote:
> I wonder, for putenv/setenv. In Linux, does this change the global 
> environment, or just the environment of the current process?

There's no such thing as a global environment in Unix.  The environ-
ment table is, like the argument table, strictly per process.  There's
no way to change the environment of another process (well, ok, with a
debugger you can but it's difficult).

Ciao, ET.