I am trying to use the call function from the Python library inside a Sikuli script.
from subprocess import call
call(['notepad.exe'])
popup("call has ended")
#do something else in the notepad here
The problem is that the message “call has ended” never appears until I close the notepad. I think it’s related to the error code call sends at the end of execution.
Thanks.
Use OpenApp() or run(), try to use the Sikuli functions first.