Using bin/client1 run ..., in the run script sys.argv starts with [".../interpreter", "-c"] (rather than the run script).
I observed this with version 6.7.5 (from Plone 5.2.2) under PY2 but according to the change log the problem does not seem to have been fixed in 6.10.0.
The bug seems to be located in ctl.ZopeCmd.do_run:
Using
bin/client1 run ...
, in the run scriptsys.argv
starts with[".../interpreter", "-c"]
(rather than the run script).I observed this with version
6.7.5
(from Plone 5.2.2) under PY2 but according to the change log the problem does not seem to have been fixed in6.10.0
.The bug seems to be located in
ctl.ZopeCmd.do_run
:Of course,
sys.argv.pop()
does not guarantee that the followingappend
adds component0
(as it should). I suggest to replace it withdel sys.argv[:]
.