Author Grissiom.Gu
Recipients Grissiom.Gu, cvrebert, sbt, terry.reedy
Date 2012-07-29.04:38:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343536717.44.0.105665309251.issue15451@psf.upfronthosting.co.za>
In-reply-to
Content
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 process which _will_ use the PATH variable to search the executable.

So I think this is a inconsistent behavior at least. So I think we should either notify the user that this API is inconsistent or just fix the Popen call in windows. Prepending the new PATH to the env of current process and than call CreateProcess is just a patch within 10 lines, I think.
History
Date User Action Args
2012-07-29 04:38:37Grissiom.Gusetrecipients: + Grissiom.Gu, terry.reedy, cvrebert, sbt
2012-07-29 04:38:37Grissiom.Gusetmessageid: <1343536717.44.0.105665309251.issue15451@psf.upfronthosting.co.za>
2012-07-29 04:38:36Grissiom.Gulinkissue15451 messages
2012-07-29 04:38:36Grissiom.Gucreate