[1.0.1 ok] ScriptJython: exitcode not returned to commandline when using exit(n)
Bug #1224481 reported by
RaiMan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
----- fixed with version 1.0.1 per September 12 at 5 pm gmt+1
repeat setup after this time to get the fixed version
tested on Mac, but should work on Win/Linux too
-------
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\
[exec] sys.exit(2)
[exec] Sy
summary: |
- [1.0.1] ScriptJython: exitcode not returned to commandline when using + [1.0.1 ok] ScriptJython: exitcode not returned to commandline when using exit(n) |
description: | updated |
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
To post a comment you must log in.
I have upgraded to the latest version (2013.9.13), but still could not get the right exit code
[exec] File "C:\Users\ user\Desktop\ scripts_ folder\ deployment. sikuli\ deployment. py", line 112, in <module> sikuli1. 0.1\sikuli_ download\ sikuli- ide.jar\ Lib\sikuli\ Sikuli. py", line 232, in exit
[exec] exit(3)
[exec] File "C:\sikuli\
[exec] sys.exit(code)
[exec] SystemExit: 3
[exec] [info] Exit code: 1
I don't know why the sikuli throw the exception when I try to call the exit(3) method ?