Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment: There is also _wputenv_s which affects _spawn, _exec and system. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue39406> _______________________________________