Question #679012 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679012
RaiMan proposed the following answer:
I am sorry, for misleading you.
I now finally tried myself and had a look into the implementation.
This is what currently works in your sense:
exitValue = runScript(whatever)
if exitValue == 1:
print "there was an exception"
exit(1)
else:
print "ran with success"
exit(exitValue)
Your whatever-script should not terminate with exit(1), since this is
"reserved" for signaling an exception during runScript (which should be
shown as [error] messages)
In the outside world (command line) you can deal now with the returned
value.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp