This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r-or
Recipients r-or
Date 2019-01-30.19:45:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548877516.06.0.747468813802.issue35862@roundup.psfhosted.org>
In-reply-to
Content
There should be a possibility to change the environment of a process created with multiprocessing.

For subprocess this is possible thanks to the "env" attribute.

Elaboration:
While it is trivial to change os.environ manually, in some cases this is not possible. 

For instance: creating a COM process on Windows; this process will always inherit the environment of the host process.
A workaround is to spawn a python process with a different environment which then will provide this to the child COM process.
History
Date User Action Args
2019-01-30 19:45:19r-orsetrecipients: + r-or
2019-01-30 19:45:16r-orsetmessageid: <1548877516.06.0.747468813802.issue35862@roundup.psfhosted.org>
2019-01-30 19:45:16r-orlinkissue35862 messages
2019-01-30 19:45:15r-orcreate