← Back to team overview

sikuli-driver team mailing list archive

[Bug 719245] Re: Java: Running Sikuli scripts using ScriptRunner.runPython causes JVM to exit upon completion

 

** Changed in: sikuli
       Status: New => Confirmed

** Changed in: sikuli
   Importance: Undecided => Wishlist

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

Title:
  Java: Running Sikuli scripts using ScriptRunner.runPython causes JVM
  to exit upon completion

Status in Sikuli:
  Confirmed

Bug description:
  Having gathered all of my individual, Sikuli-GUI-made unit tests into
  a single test suite and trying to run them sequentially I was hit by
  the incredible show-stopper bug of having the JVM shut down as soon as
  the first script finished.  (Using  X 1.0 rc2 "Maltese" on 64-bit
  Windows 7, but running 32-bit Java 1.6.0_23-b05)

  The following code will never WOOGAH CHAKA:

  final ScriptRunner sr = ScriptRunner.getInstance(new String[0]);
  sr.runPython("testing/sikuli/InitialGuiLookTest.sikuli", new File("testing/sikuli/InitialGuiLookTest.sikuli/InitialGuiLookTest.py"));
  System.out.println("WOOOGAH CHAKA");



References