[1.1.4] ./ no longer working to run multiple scripts from command line --- fixed 2019-08-19 build #365

Asked by Chris Kosieracki on 2019-08-13

1.1.4-SNAPSHOT-#364-2019-08-02_08:42/Mac10.14.5/Java8(64)1.8.0_73-b02

The command entered tries to run twice a simple sikuli script that just prints "this is a test"
It runs the first time and then gives an error indicating that the script cannot be found.

java -jar /Applications/sikulix.jar -r /Users/cckozie/Documents/Sikuli/tC/ACTIVE/tC_Basic_Test ./tC_Basic_Test
this is a test
[error] Runner: runscript: (256) not found: ./tC_Basic_Test

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-08-13
Last reply:
2019-08-19
RaiMan (raimund-hocke) said : #1

Thanks for reporting. I have to check.

Please confirm:

There is a script as:
 /Users/cckozie/Documents/Sikuli/tC/ACTIVE/tC_Basic_Test.sikuli

If this is true, you might try a workaround as:
-r /Users/cckozie/Documents/Sikuli/tC/ACTIVE tC_Basic_Test tC_Basic_Test

which should run the script twice (mind the spaces).

Chris Kosieracki (cckozie) said : #2

Yes, that works!
Thanks for the quick response.

RaiMan (raimund-hocke) said : #3

fixed