Setting environment for current shell

Grant Edwards grante at visi.com
Thu Jan 4 15:17:56 EST 2001


In article <932f4d$n0r$1 at nnrp1.deja.com>, bragib at my-deja.com wrote:

>How do you set an environment for the shell you are running python in.
>os.system() spawns its own shell.  I would like to gain access to the
>parent shell.

You can't.   You can only modify the current environment not
your parent process's.

-- 
Grant Edwards                   grante             Yow!  Yow! Those people
                                  at               look exactly like Donnie
                               visi.com            and Marie Osmond!!



More information about the Python-list mailing list