Matthew Tanous <mtanou...@gmail.com> added the comment:
Your example is an attempt to use Popen to run a file you don't have execute permissions for. In my example, it is not `whoami` that it is failing to create/open, but '.tmp/temp_file'. I would expect a `PermissionError: [Errno 13] Permission denied: '.tmp/temp_file'` returned. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36812> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com