Set an environment variable

Erik Max Francis max at alcyone.com
Fri Oct 21 09:03:31 CEST 2005


Christian wrote:

> Can I write a .py script that calls a .sh script that executes the 
> export command and then calls another .py script (and how would the 
> first .py script look)?

No, the shell script that the Python program would invoke would be a 
different process and so commands executed in it would have no effect on 
the state of another.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   Success and failure are equally disastrous.
   -- Tennessee Williams



More information about the Python-list mailing list