Commit 5cc5e063 authored by Benjamin Peterson's avatar Benjamin Peterson

suppress stderr output when checking gdb (closes #27969)

parent 0b3fe16b
...@@ -25,6 +25,7 @@ def get_gdb_version(): ...@@ -25,6 +25,7 @@ def get_gdb_version():
try: try:
proc = subprocess.Popen(["gdb", "-nx", "--version"], proc = subprocess.Popen(["gdb", "-nx", "--version"],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True) universal_newlines=True)
with proc: with proc:
version = proc.communicate()[0] version = proc.communicate()[0]
......
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