[Python-Dev] subprocess insufficiently platform-independent?

Robert Brewer fumanchu at aminus.org
Mon Aug 25 19:32:36 CEST 2008


Guido van Rossum wrote:
> Several people at Google seem to have independently discovered that
> despite all of the platform-independent goodness in subprocess.py, you
> still need to be platform aware.

I can verify this. For CP we went back to using spawnl, but in an
internal project we checked sys.platform and set shell=True for Windows.


Robert Brewer
fumanchu at aminus.org



More information about the Python-Dev mailing list