subprocess only good for win32?

Piet van Oostrum piet at vanoostrum.org
Thu Apr 1 16:55:46 EDT 2010


>>>>> wukong <novacompute at gmail.com> (w) wrote:

>w> also subprocess.py clearly says
>w> """
>w> import sys
>w> mswindows = (sys.platform == "win32")
>w> """

It may sound strange, but even in 64-bit Python on Win64,
sys.plattform=="win32". 

You can check that subprocess is working, e.g. with 
subprocess.call('dir', shell=True)
-- 
Piet van Oostrum <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
Nu Fair Trade woonwaar op http://www.zylja.com



More information about the Python-list mailing list