Message334591
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. |
|
Date |
User |
Action |
Args |
2019-01-30 19:45:19 | r-or | set | recipients:
+ r-or |
2019-01-30 19:45:16 | r-or | set | messageid: <1548877516.06.0.747468813802.issue35862@roundup.psfhosted.org> |
2019-01-30 19:45:16 | r-or | link | issue35862 messages |
2019-01-30 19:45:15 | r-or | create | |
|