← Back to team overview

sikuli-driver team mailing list archive

[Question #665537]: sys.argv[0] when running sikulix as server

 

New question #665537 on Sikuli:
https://answers.launchpad.net/sikuli/+question/665537

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"

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.