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 nicolaje
Recipients nicolaje, steve.dower, tim.golden, zach.ware
Date 2015-02-14.08:45:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423903526.7.0.282245151833.issue23462@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows 7, using python 3.4.2 32 bits MSVCv.1600 or 3.4.1 64 bits, all the os.exec*e variants crash:

os.execle('C:/Python34/python.exe','Python.exe','-V',{})

os.execve('C:/Python34/python.exe',['python.exe','-V'],{})

os.execlpe('C:/Python34/python.exe','python.exe','-V',{})

os.execvpe('C:/Python34/python.exe',['python.exe','-V'],{})

Without any error message, windows will just open a "Python.exe has stopped working" window, be the scripts run from an interactive shell or invoking python script.py

On the other hand, 
os.execl('C:/Python34/python.exe','Python.exe','-V')

os.execve('C:/Python34/python.exe',['python.exe','-V'])

os.execlpe('C:/Python34/python.exe','python.exe','-V')

os.execvpe('C:/Python34/python.exe',['python.exe','-V'])

will work perfectly.
History
Date User Action Args
2015-02-14 08:45:26nicolajesetrecipients: + nicolaje, tim.golden, zach.ware, steve.dower
2015-02-14 08:45:26nicolajesetmessageid: <1423903526.7.0.282245151833.issue23462@psf.upfronthosting.co.za>
2015-02-14 08:45:26nicolajelinkissue23462 messages
2015-02-14 08:45:25nicolajecreate