subprocess only good for win32?

wukong novacompute at gmail.com
Wed Mar 31 17:43:26 EDT 2010


On Mar 31, 2:33 pm, Chris Rebert <c... at rebertia.com> wrote:
> On Wed, Mar 31, 2010 at 2:26 PM, wukong <novacomp... at gmail.com> wrote:
> > subprocess works fine on my win pro 32-bit, but not on vista 64-bit.
> > am i doing some wrong, or it just won't work for win64?  If that's
> > true, will it be extended to win64 in teh future?
>
> Please characterize exactly how it is not working for you.
> Include any error message and/or exception traceback.
>
> Cheers,
> Chris
> --http://blog.rebertia.com

thanks for checking in, here's the error msg.
"""
Traceback (most recent call last):
  File "C:/GUI/mainFunc.py", line 230, in OnSolve
    subprocess.call([filename])
  File "C:\Program Files (x86)\python26\lib\subprocess.py", line 470,
in call
    return Popen(*popenargs, **kwargs).wait()
  File "C:\Program Files (x86)\python26\lib\subprocess.py", line 621,
in __init__
    errread, errwrite)
  File "C:\Program Files (x86)\python26\lib\subprocess.py", line 830,
in _execute_child
    startupinfo)
WindowsError: [Error 14001] The application has failed to start
because its side-by-side configuration is incorrect. Please see the
application event log for more detail
"""

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

thanks
wk



More information about the Python-list mailing list