STINNER Victor <vstinner at python.org> added the comment: And for this one? import os args=['no_such_executable'] os.execvpe(args[0], args, os.environ) ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue39653> _______________________________________