Run lldb in shell and inherit parent std handles.

This commit is contained in:
Dmitry Trofimov
2014-10-24 12:31:43 +02:00
parent 94370873db
commit f4843241cc
@@ -549,10 +549,10 @@ def run_python_code_mac(pid, python_code, connect_debugger_tracing=False, show_d
print('Running: %s' % (' '.join(cmd)))
p = subprocess.Popen(
' '.join(cmd),
shell=False,
shell=True,
env=env,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
stdout=None,
stderr=None,
)
print('Running lldb in target process.')
out, err = p.communicate()