This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author damon-atkins
Recipients asvetlov, chris.jerdonek, cvrebert, damon-atkins, docs@python, eryksun, ned.deily, paul.moore, pepalogik, python-dev, steve.dower, tim.golden, wolma, zach.ware
Date 2018-06-13.10:11:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I see from this. That this is still an issue

Is it not a solution to
save current directory location
chdir(cwd) before calling  _winapi.CreateProcess()
restore the original directory.

This will result in the cwd being searched for the executable, which most people would expect to happen.  It seems CreateProcess does not change to cwd until after the file is checked for existence or loaded.
Date User Action Args
2018-06-13 10:11:45damon-atkinssetrecipients: + damon-atkins, paul.moore, tim.golden, ned.deily, cvrebert, asvetlov, chris.jerdonek, docs@python, python-dev, zach.ware, eryksun, steve.dower, pepalogik, wolma
2018-06-13 10:11:45damon-atkinssetmessageid: <>
2018-06-13 10:11:45damon-atkinslinkissue15533 messages
2018-06-13 10:11:45damon-atkinscreate