[New-bugs-announce] [issue23462] All os.exec*e variants crash on Windows

Jeremy Nicola report at bugs.python.org
Sat Feb 14 09:45:26 CET 2015


New submission from Jeremy Nicola:

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.

----------
components: Windows
messages: 235952
nosy: nicolaje, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: All os.exec*e variants crash on Windows
type: crash
versions: Python 3.4

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


More information about the New-bugs-announce mailing list