[issue31112] cannot run module with double quotes

2017-08-02 Thread Eryk Sun
Eryk Sun added the comment: Python uses the C runtime wmain entry point, which parses the commandline string into an argument array using documented rules [1]. The quoted string "-m locust.main -V" is passed as a single argument instead of the expected three arguments: ["-m", "locust.main",

[issue31112] cannot run module with double quotes

2017-08-02 Thread ericshenjs
New submission from ericshenjs: (vPy3X64) test01@NJNU f:\Src\localCode\python\py3_eric > python "-m locust.main -V" f:\SDKs\Python\vPy3X64\Scripts\python.exe: Error while finding module specification for ' locust.main -V' (ModuleNotFoundError: No module named ' locust') (vPy3X64) test01@NJNU