You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FileNotFound error raised by os.exec* doesn't contain filename #84687
After further reading, especially the docs for OSError which describe the filename and filename2 attributes, I agree that setting .filename on the FileNotFoundError exception is the way to go.
Activity
russelldavis commentedon May 5, 2020
To repro:
taleinat commentedon Oct 17, 2020
I agree that having the error message include the executable name could be useful.
2 remaining items
taleinat commentedon Oct 18, 2020
After further reading, especially the docs for OSError which describe the filename and filename2 attributes, I agree that setting .filename on the FileNotFoundError exception is the way to go.
gh-84687: Add filename to the error raised by os.exec* (GH-19915)
pythongh-84687: Add filename to the error raised by os.exec* (pythonG…