Hello, On Mon, Mar 12, 2007 at 11:40:11AM +0100, Diez B. Roggisch wrote: > Maxim Veksler wrote: > > I'm trying to write a python script that would allow me to manipulate > > shell variables of the calling shell. I'm trying to write some logic > > that would know to add LD_LIBRARY_PATH to the users environment. > > It's not possible, OS restrictions - you are not allowed to alter the > environment of a parent process.
Actually, you are able to modify only your own environment (and call a new process with any possible environment). And the restrictions seem to me rather technical - the process would have to change its behaviour each time it changes. With regards -- grep me no patterns and I'll tell you no lines. Michal 'vorner' Vaner
pgpiWqB4iIas1.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list