[1.1.0-Beta] Jython: user parameters from command line (after -- or --args) not contained in sys.argv -- workaround until fixed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
***** workaround
the user parameters are available in the returned list
Settings.getArgs()
-------
Hi,
Previously I used the stable version 1.0.1 of sikuli and I could launch my sikuli script from command line with this line in my Python scipt:
test_launcher_
p = subprocess.
where testPath is the path to my sikuli test: /bla/bla/
And SCRIPT_DIR is the path to the directory where this script is located. This worked I could access the arguments in my sikuli test script
And then I updated to sikuli 1.1.0
p = subprocess.
The parameters are the same.
And now I cannot get access to the arguments in sys.argv in my sikuli test script
So either is something broken or I am doing it wrong
BR
KG
summary: |
[1.1.0-Beta] Jython: user parameters from command line (after -- or - --args) not contained in sys.argv + --args) not contained in sys.argv -- workaround |
summary: |
[1.1.0-Beta] Jython: user parameters from command line (after -- or - --args) not contained in sys.argv -- workaround + --args) not contained in sys.argv -- workaround until fixed |
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
description: | updated |