sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54119
[Question #688817]: Sikuli always sees App class as 'isRunning' == True
New question #688817 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688817
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 hasWindow().
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.