[issue24493] subprocess with env=os.environ fails with "fatal python error" when calling 32-bit python from 64-bit one on Windows

eryksun report at bugs.python.org
Wed Jun 24 04:08:46 CEST 2015


eryksun added the comment:

I can't reproduce this in Windows 7 or 10 using Python 3.4. What gets printed for the following?

import os
import subprocess

cmd32 = os.path.join(os.environ['SYSTEMROOT'], 'SysWOW64', 'cmd.exe')
subprocess.call('{} /c set SYSTEMROOT'.format(cmd32), env=os.environ)

----------
nosy: +eryksun

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24493>
_______________________________________


More information about the Python-bugs-list mailing list