[Python-Dev] deprecate commands.getstatus()

Guido van Rossum guido at python.org
Thu Mar 22 22:47:58 CET 2007

On 3/22/07, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
> Guido van Rossum wrote:
> > Sure. os.fork() and the os.exec*() family can stay. But os.spawn*(),
> > that abomination invented by Microsoft? I also hear no opposition
> > against killign os.system() and os.popen()
> Except that 'os.system' is really easy to use and I use it rarely enough
> that I *always* have to RTFM for subprocess which makes you jump through
> a few more (albeit simple) hoops.

So let's add subprocess.system() which takes care of the hoops (but
still allows you more flexibility through optional keyword

> Additionally, AFAIK subprocess is still broken for py2exe'd applications
> which is a problem.

That doesn't sound like an API design concern -- it's a bug that just
needs to be fixed somewhere.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list