[issue37067] os.execl doesn't allow for empty string in mac

Ronald Oussoren report at bugs.python.org
Tue May 28 02:51:10 EDT 2019


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

Which exact python version did you test?  The current codebase raises this exception on all platforms, not just macOS (see os_execv_impl in Modules/posixmodule.c)

The behaviour of raising an exception was introduced in issue 28732 for Windows, not sure when that code was refactored to raise the exception on all platforms.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37067>
_______________________________________


More information about the Python-bugs-list mailing list