mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH-113435)
This commit is contained in:
parent
ce77ee5035
commit
53330f1677
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue