From: Serhiy Storchaka Date: Sun, 24 Dec 2023 10:31:23 +0000 (+0200) Subject: gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH-113435) X-Git-Tag: v3.13.0a3~269 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53330f167792a2947ab8b0faafb11019d7fb09b6;p=thirdparty%2FPython%2Fcpython.git gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH-113435) --- diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py index 49e41ca6cdaf..6dfb7f37e406 100644 --- a/Lib/test/pythoninfo.py +++ b/Lib/test/pythoninfo.py @@ -925,6 +925,8 @@ def collect_windows(info_add): stderr=subprocess.PIPE, text=True) output = proc.communicate()[0] + if proc.returncode == 0xc0000142: + return if proc.returncode: output = "" except OSError: