views:

55

answers:

1

I am getting the following error:

WindowsError: [Error 2] The system cannot find the file specified

My code is:

subprocess.call(["<<executable file found in PATH>>"])

Windows 7, 64 bit. Python 3.x latest, stable.

Any ideas?

Thanks,

A: 

If the path has spaces, is it quoted?

And of course, you escaped backslashes properly, or used slashes, right?

Ryan Ginstrom
Yes it is quoted properly. The same command works when being called through the os.system() method.
Srirangan