sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21015
[Bug 1224481] Re: [1.0.1 ok] ScriptJython: exitcode not returned to commandline when using exit(n)
There is no runScript cmd in my sikuli installation. So currently I am
using the following cmd to execute the script from command line
./runIDE -r C:\Users\user\Desktop\scripts_folder\create_new_app.sikuli
And the start log from the ant is following
import:
[exec] +++ running this Java
[exec] java version "1.6.0_32"
[exec] Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
[exec] Java HotSpot(TM) Client VM (build 20.7-b02, mixed mode, sharing)
[exec] +++ trying to start Sikuli IDE
[exec] +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\sikuli\sikuli1.0.1\sikuli_download\sikuli-ide.jar -r C:\Users\user\Desktop\scripts_folder\create_new_app.sikuli
Whether there is something wrong in my installation process? I install
the latest sikuli from other computer . I choose the option 1 with all
things . And copy the entire folder to my current lab machine (a windows
7 based computer ) . I have added the lib folder to the sys path.
I am now investigating the code of ANT exec task to see how does it
start the subprocess and get the exit code
--
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 ok] ScriptJython: exitcode not returned to commandline when
using exit(n)
Status in Sikuli:
Fix Committed
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\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
References