sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #14097
[Bug 993062] Re: [request] sikuli-script.jar should handle --args the same way sikuli-ide.jar does
** Changed in: sikuli
Status: New => Fix Committed
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => x1.0
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/993062
Title:
[request] sikuli-script.jar should handle --args the same way sikuli-
ide.jar does
Status in Sikuli:
Fix Committed
Bug description:
using
java -jar "%SIKULI_HOME%\sikuli-script.jar" testArgv.sikuli --args "firstargument"
prints sys.argv correctly:
testArgv.sikuli
--args
firstargument
but terminates the script with
[error] Can't run this Sikuli script: --args
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
....
using
java -jar "%SIKULI_HOME%\sikuli-ide.jar" -r testArgv.sikuli --args "firstargument"
works as expected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/993062/+subscriptions
References