gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH-113435)
This commit is contained in:
parent
ce77ee5035
commit
53330f1677
@ -925,6 +925,8 @@ def collect_windows(info_add):
|
|||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
text=True)
|
text=True)
|
||||||
output = proc.communicate()[0]
|
output = proc.communicate()[0]
|
||||||
|
if proc.returncode == 0xc0000142:
|
||||||
|
return
|
||||||
if proc.returncode:
|
if proc.returncode:
|
||||||
output = ""
|
output = ""
|
||||||
except OSError:
|
except OSError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user