[issue15451] PATH is not honored in subprocess.Popen in win32

2012-07-25 Thread Grissiom Gu
New submission from Grissiom Gu : My system is 32 bit win7 and python is 2.7.2. Sample code is here: === import os, sys nenv = {} nenv['PATH'] = 'C:\\Windows\\System32\\;e:\\projects\\teest\\python\\exe\\' nenv['SystemRoot'] = 'C:\\Window

[issue15451] PATH is not honored in subprocess.Popen in win32

2012-07-28 Thread Grissiom Gu
Grissiom Gu added the comment: Thank you for everyone participated in this issue. I learnt a lot from you. But I observe that the same script(with proper modification of file names) works very well under Linux. After I dive into the source code, I found Python use execvpe to invoke the child