R. David Murray added the comment: By passing an fd to os.execve. Under the hood it calls fexecve. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23459> _______________________________________