← Back to team overview

sikuli-driver team mailing list archive

[Bug 1164518] [NEW] sikuli-script.jar wrong exit status on exception

 

Public bug reported:

win7 64
Sikuli-X-1.0rc3 (r905)-win32.exe  +  sikuli-r930-win32.zip

the script is just "raise Exception('blabla')"

"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar "C:\Program Files (x86)\Sikuli X\sikuli-ide.jar" -s -r test.sikuli
returns -1, this is correct - nonzero status
but
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar "C:\Program Files (x86)\Sikuli X\sikuli-script.jar" test.sikuli
returns 0

** Affects: sikuli
     Importance: Undecided
         Status: New


** Tags: code exit status

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

Title:
  sikuli-script.jar wrong exit status on exception

Status in Sikuli:
  New

Bug description:
  win7 64
  Sikuli-X-1.0rc3 (r905)-win32.exe  +  sikuli-r930-win32.zip

  the script is just "raise Exception('blabla')"

  "C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar "C:\Program Files (x86)\Sikuli X\sikuli-ide.jar" -s -r test.sikuli
  returns -1, this is correct - nonzero status
  but
  "C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar "C:\Program Files (x86)\Sikuli X\sikuli-script.jar" test.sikuli
  returns 0

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


Follow ups

References