← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #686476]: Command line SikuliX slowness

 

Question #686476 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/686476

    Status: Open => Answered

RaiMan proposed the following answer:
to run a script from commandline it must be:
java -jar sikulix.jar -r <path-to-py>\commandLIne.py -- "1"

(but it might be a typo here that the -r is missing)

tested on my Windows 10 system:
takes about 6 seconds until the 1 is printed to commandline

To get more info about what is going on use:

java -jar sikulix.jar -v -c -r <path-to-py>\commandLIne.py -- "1"

BTW: import sys is not needed in SikuliX scripts (already imported
internally at script start)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.