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

Description changed to:
Hi
i wish to gracefully end my application. however when it use exit or exit(2) i 
always get an exception
build 2.0.4
 below is sample code
try:
    print("help")
    exit()

except:
    print("in except:")

 output
help
in except:


if i add traceback then below is detailed output
help
in except:
sky>in error
Traceback (most recent call last):
  File 
"C:\Perf\Work\Groups\AntiPirates\PDFNext\Automations\FeatTests\Common\UIAutomation\acrobat.sikuli\test1.sikuli\test1.py",
 line 4, in <module>
    exit()
  File "C:\Users\cshamdas\AppData\Roaming\Sikulix\Lib\sikuli\Sikuli.py", line 
569, in exit
    sys.exit(code)
SystemExit: 0

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to