gh-98966: Handle stdout=subprocess.STDOUT (GH-98967)

Explicitly handle the case where stdout=STDOUT
as otherwise the existing error handling gets
confused and reports hard to understand errors.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
This commit is contained in:
Paulo Neves 2024-03-26 13:37:50 +01:00 committed by GitHub
parent 9654daf793
commit 4abca7e1e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,2 @@
In :mod:`subprocess`, raise a more informative message when
``stdout=STDOUT``.