suppress stderr output when checking gdb (closes #27969)
This commit is contained in:
parent
c5c83d6b7d
commit
cbef66d711
|
@ -25,6 +25,7 @@ def get_gdb_version():
|
|||
try:
|
||||
proc = subprocess.Popen(["gdb", "-nx", "--version"],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
universal_newlines=True)
|
||||
with proc:
|
||||
version = proc.communicate()[0]
|
||||
|
|
Loading…
Reference in New Issue