sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #57902
Re: [Question #699911]: how to pass parameters to a runnable jar ?
Question #699911 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/699911
Status: Open => Answered
RaiMan proposed the following answer:
this works for me:
--- wrapped script
print sys.argv
--- run as
java -jar sikulixide.jar -r wrapped_script.jar -- parm parm1 "parm3 = 1"
--- prints
[u'/var/folders/pc/t43tqvr56xx7kxz3m6z5g4rw0000gn/T/sikulix17229118916186188772/jartest$py.class', u'parm', u'parm1', u'parm3 = 1']
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.