← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #676426]: Cannot start App when executing Sikuli script from cmd

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I am sorry, but I have no idea.

To start the given executable internally a command execution is detached:
cmd /c start "" /B "path-to-executable"

To get the state of the app, internally this Win command is executed:
tasklist /V /FO CSV /NH /FI "IMAGENAME eq <executable>"

where <executable> is the executables name (from given executable path
the name only as <name>.exe: 3dsmax.exe in your case)

Since from the code I cannot see any reason for blocking, I cannot help
you currently.

I will revise the App.open() stuff a little bit, to get more info about
what is happening and ask you to test again.

If it is urgent, then you have to implement your own app-start solution
with os.Popen, that you already use apparently.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.