← Back to team overview

sikuli-driver team mailing list archive

[Bug 1224481] [NEW] [1.0.1] ScriptJython: exitcode not returned to commandline when using exit(n)

 

Public bug reported:

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

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1224481

Title:
  [1.0.1] ScriptJython: exitcode not returned to commandline when using
  exit(n)

Status in Sikuli:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1224481/+subscriptions


Follow ups

References