Alex Samuel added the comment:

Here's a real-world case where this can cause unexpected results:  A shell 
script has a typo in the shebang ("#/!bin/bash") but the execute bit set.  It 
still runs via the C library's execvp() and also via bash (which uses execve() 
but reimplements the behavior) but not with Python's os.execvp().

Would there be interest in a patch that fixes this?

----------
nosy: +Alex Samuel

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19948>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to