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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
iD8DBQBF9TG+7/oWwynB3bIRAt2xA J99VglXt7xFFqRh bo1DTPLvNYdaUAC cCH5M
kZ1RRYyLO5UtPAl BdAARNU4=
=f68I
-----END PGP SIGNATURE-----