diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-01-16 05:20:57 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-01-16 05:20:57 (GMT) |
commit | 2033f41c358e197d0b1051bf220f128da0dff8a7 (patch) | |
tree | c0300a919ae56cd4baefa45a54dd5ffc71164842 | |
parent | 2139a9fd270a3aaba1259458a52d15d45a624dd2 (diff) | |
parent | 7a5fe6d5d11ac1d86f49576d79506642f108edd5 (diff) | |
download | cpython-2033f41c358e197d0b1051bf220f128da0dff8a7.zip cpython-2033f41c358e197d0b1051bf220f128da0dff8a7.tar.gz cpython-2033f41c358e197d0b1051bf220f128da0dff8a7.tar.bz2 |
Issue #26127: Merge test_gdb fix from 3.5
-rw-r--r-- | Lib/test/test_gdb.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 16fb389..78fc55c 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -75,6 +75,9 @@ def run_gdb(*args, **env_vars): if (gdb_major_version, gdb_minor_version) >= (7, 4): base_cmd += ('-iex', 'add-auto-load-safe-path ' + checkout_hook_path) proc = subprocess.Popen(base_cmd + args, + # Redirect stdin to prevent GDB from messing with + # the terminal settings + stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env) |