Merge pull request #388 from blueyed/pass-mainargv

Pass and use original sys.argv to/with workers
This commit is contained in:
Bruno Oliveira
2018-12-12 15:21:56 -02:00
committed by GitHub
4 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
``mainargv`` is made available in ``workerinput`` from the host's ``sys.argv``.
This can be used via ``request.config.workerinput["mainargv"]``.