[Tutor] Struggling with os.exec

Jeff Shannon jeff@ccvcorp.com
Fri May 23 13:32:02 2003


Charlie Clark wrote:

>[...] I think this is possible on MS 
>Windows, isn't it?
>

I'm fairly sure that it's *not*.  I use Windows all the time, and I've 
never noticed an instance of a child process modifying its parent's 
environment.  

While there isn't a way to directly translate this particular shell 
script into Python, you may want to look at what part this script plays 
in the larger problem that you're dealing with.  There's probably some 
other way of approaching that larger problem, which wouldn't involve 
this sort of environment modifications.

Jeff Shannon
Technician/Programmer
Credit International