sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #46309
[Bug 1755730] Re: [1.1.x] Python script runner: sys.argv[0] should contain path of running script
** Changed in: sikuli
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1755730
Title:
[1.1.x] Python script runner: sys.argv[0] should contain path of
running script
Status in Sikuli:
Fix Released
Bug description:
It seems like sys.argv[0] is set to None when I run a script via
sikulix server.
Is there any way to have something meaningful for sys.argv[0]?
I'm using sikulix 1.1.2 on Linux (centos 7.4)
What is sent on port 50001 is:
RUN/t000_a_in?A=1;B=2;C=abcde
And inside t000_a_in.py:
if sys.argv[0] == None:
print "Is None"
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1755730/+subscriptions
References