← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #229810]: OSError: Cannot run program "C:\Program" (in directory "C:\Program Files (x86)\Sikuli X"): CreateProcess error=2

 

Question #229810 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229810

    Status: Open => Answered

RaiMan proposed the following answer:
--- The problem is when Sikuli call subprocess then it could not find the subprocess.py 
That is not true, subprocess.py is found an active as the stack trace shows.

--- so I agree with j-the-k (comment #2) 
... it seems to have to do with some blanks in path names when trying to execute_child from your subprocess.call(VMcommand)
as the message shows: OSError: Cannot run program "C:\Program"

--- 2 possibilities:
-1. downgrade to java 6 - 27
-2. verify your used path names about contained blanks and correct it somehow

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.