mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #26127: Merge test_gdb fix from 3.5
This commit is contained in:
commit
2033f41c35
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue