Setting UNIX environment with a Python script

Grant Edwards grante at visi.com
Mon Mar 11 16:13:05 EST 2002


In article <3C8D143A.17963385 at all.com>, Nom de Plume wrote:

> The only step left is sourcing the ora_env.[name] file from within
> Python in a way such that the environment of the parent shell is
> modified.  Anyone have any ideas?  I have tried:

It is not possible under Unix to modify the environment of your
parent process.  You can only modify your own environment and
then export that environment to your children.

-- 
Grant Edwards                   grante             Yow!  I'm DESPONDENT... I
                                  at               hope there's something
                               visi.com            DEEP-FRIED under this
                                                   miniature DOMED STADIUM...



More information about the Python-list mailing list