[python-win32] regarding invoking command prompt using python

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jun 19 03:03:25 CEST 2009


Tim Roberts wrote:

> Depending on your point of view, that's either a usage problem or a
> design flaw in the "os" module.

The design of the os module does seem rather screwy in this
area. Since os.environ is a custom mapping type, I don't
know why it doesn't just pass all get and set operations on
to the real process environment instead of keeping a copy
of it.

It's not just Windows, btw, it seems to work the same way
on Unix too.

-- 
Greg


More information about the python-win32 mailing list