Inconsistence syntax in os module?

Jason Orendorff jason at jorendorff.com
Tue Feb 5 15:08:28 CET 2002


> Rewriting system() and popen() to be consistent with popen2() and 
> friends is trivial, especially if one writes the implementations 
> in python.

I agree that os.system() and os.popen() should accept list arguments
and do the right thing.

In the meantime, os.spawnv() is what you want for os.system().

## Jason Orendorff    http://www.jorendorff.com/




More information about the Python-list mailing list