sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31745
[Bug 1444959] Re: sikulix passing arguments --arg not working --- use -- instead
I am sorry, but I have to admit, that when running scripts from command
line, the filling of the user args does not work.
If you want to test your script, until this is fixed (probably till
tomorrow):
./runsikulix -- 10
and run your script in the IDE
** Changed in: sikuli
Status: Confirmed => In Progress
** Changed in: sikuli
Importance: Medium => High
** Changed in: sikuli
Status: In Progress => Fix Committed
--
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:
Fix Committed
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