sys.argv[0] when running sikulix as server
Asked by
Steph
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_
And inside t000_a_in.py:
if sys.argv[0] == None:
print "Is None"
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Steph for more information if necessary.
To post a message you must log in.