[1.1.0] sikulix passing arguments --arg not working (use -- arg1 arg2 ...) --- fixed: 2015-04-17
Bug #1444959 reported by
saravanan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
sikulix1.1.0 ubuntu 12.04 and windows 8.1 64 bit.
Earlier in sikuli 1.0.1 we passed arguments through --args to the script. The sys.argv[1] in the python script will be the first argument , sys.argv[2] the second argument and so on.
But in SikuliX 1.1.0 Iam not able to see the value after --args reflected in the variable sys.argv[1].
To post a comment you must log in.
the --args will no longer be recognized.
instead everything after -- will go to the sys.argv[1..] (as mentioned in the docs for 1.1.0+)