Update `command_runner.py`
@@ -43,7 +43,10 @@ def main():
except:
print(traceback.format_exc())
+ sys.argv = [sys.argv[0]]
+
+if len(sys.argv) > 1:
+ main()
+else:
while True:
main()
- if len(sys.argv) > 1:
- break
