← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #223584]: observe(background=True) works after stopping script, is this correct?

 

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

RaiMan posted a new comment:
---  if i use sys.exit() inside def or inside try..except, it makes IDE silently closed without any warnings
The new version will have on option to "auto-save before run" or at least warn you, that your stuff is not saved yet, when trying to run a script in the IDE.

generally it is not recommended to use sys.exit() in Sikuli scripts, since this cannot be captured on the Jython level.
use exit() instead (but currently save your stuff before pressing run button ;-)

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