Travis Thieman added the comment: Thank you all for the helpful comments. A revised attempt is attached as -2.patch, with improved behavior around using cwd if the child is never called and orig_executable if it is. I opted not to fix the issue with the redundancy in the error message as I agree that should be handled as a separate issue.
---------- Added file: http://bugs.python.org/file37322/22536-subprocess-exception-filename-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22536> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com