← 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

 

I guess, the focus for the Python level, was not to run it from within
Java, since the Sikuli features are available from within Java on the
Java level (this is what most Java people use).

But we should wait for a comment of the developers ;-)

-- 
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:
  New

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