sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54123
Re: [Question #688817]: Sikuli often sees App class as isRunning == True
Question #688817 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688817
Description changed to:
System: Win 10, Sikuli 2.0.1
I have issues with isRunning() check. For example when using this code:
myApp=App('full-path-to-executable)
if myApp.isRunning() == True:
print 'App found'
else:
print 'App not found'
It works correctly most of the time, but it is not reliable. If I work
some time with my application, quit and check whether it is present in
Task Manager's processes, then the code instantly returns that the app
is found/running. And the only thing I can do is to perform a system
restart.
What can be causing this and how can I prevent this? As a workaround I
currently use App.focus() + hasWindow()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.