Skip to content

Commit

Permalink
pythongh-113440: Ignore the "ver" command failure with exit code 0xc0…
Browse files Browse the repository at this point in the history
…000142 (pythonGH-113435)
  • Loading branch information
serhiy-storchaka authored and ryan-duve committed Dec 26, 2023
1 parent ffdadc7 commit 2fe9406
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/test/pythoninfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2fe9406

Please sign in to comment.