← Back to team overview

sikuli-driver team mailing list archive

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

 

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

I try to stop the sikuli process with error exit code by call the api sys.exit(2).

But it throws an exception

     [exec] Traceback (most recent call last):
     [exec]   File "C:\Users\user\Desktop\scripts_folder\deployment.sikuli\deployment.py", line 100, in <module>
     [exec]     sys.exit(2)
     [exec] Sy

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