sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31744
[Bug 1444959] Re: sikulix passing arguments --arg not working --- use -- instead
./runsikulix -r test2.sikuli -- 10
we have tried with the " -- " option also but not working for user input argument.
the output 10 is not printed , instead it shows -r as output.
please suggest us
thankyou
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1444959
Title:
sikulix passing arguments --arg not working --- use -- instead
Status in Sikuli:
Confirmed
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 manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1444959/+subscriptions
References