[Pythonmac-SIG] interaction with OS X commands

Michael Hudson mwh at python.net
Tue Oct 19 11:31:59 CEST 2004


eichin at metacarta.com writes:

> Mmm, looks like subprocess.call() does what os.system should have done
> all along, 

Bah.  os.system wraps the C call system().  It's possible that Python
should have provided The One Obvious Way of doing this better before
now (on unix, at least, there have been a bewildering array of ways of
doing better for a Long Time), but, well, os.system isn't the place to
hang it.  So There :-)

Cheers,
mwh

-- 
  <sjj> dash: you certainly are an enigma wrapped in a riddle
        wrapped in a hat.                       -- from Twisted.Quotes


More information about the Pythonmac-SIG mailing list