diff --git a/python/helpers/pydev/pydevd_attach_to_process/add_code_to_python_process.py b/python/helpers/pydev/pydevd_attach_to_process/add_code_to_python_process.py index 7eeea7ca6212..d8dca957797c 100644 --- a/python/helpers/pydev/pydevd_attach_to_process/add_code_to_python_process.py +++ b/python/helpers/pydev/pydevd_attach_to_process/add_code_to_python_process.py @@ -554,8 +554,8 @@ def run_python_code_mac(pid, python_code, connect_debugger_tracing=False, show_d ' '.join(cmd), shell=True, env=env, - stdout=None, - stderr=None, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, ) print('Running lldb in target process.') out, err = p.communicate()