← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235511]: why the sys.exit(2) throw an exception

 

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

RaiMan proposed the following answer:
The sys module is indeed supported.

But since we internally run the scripts using a jython interpreter
instance from Java JVM, this is Jython defined behavior, so a sys.exit()
in a script cannot shutdown the whole JVM.

Therefor we have exit().

BTW: already checked the new version 1.0.1?

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