Commit 499378f0 authored by Benjamin Peterson's avatar Benjamin Peterson

suppress stderr output when checking gdb (closes #27969)

parent f0039d1f
......@@ -24,6 +24,7 @@ def get_gdb_version():
try:
proc = subprocess.Popen(["gdb", "-nx", "--version"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True)
version = proc.communicate()[0]
except OSError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment