aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2012-06-07 00:17:18 +0000
committerEnrico Granata <egranata@apple.com>2012-06-07 00:17:18 +0000
commit79cc6f7a26649cc8812d6c97641fbfe5c37f7dc4 (patch)
tree0d814e9d7d7b6d48cf71ba0e4ec5a3eec14a1ea4 /lldb/source/Interpreter/CommandObjectScript.cpp
parent3e8cf2be79396b83969b8363d22c0ce5ecf3cbff (diff)
downloadllvm-79cc6f7a26649cc8812d6c97641fbfe5c37f7dc4.zip
llvm-79cc6f7a26649cc8812d6c97641fbfe5c37f7dc4.tar.gz
llvm-79cc6f7a26649cc8812d6c97641fbfe5c37f7dc4.tar.bz2
<rdar://problem/11538779> Fixing issues where Python scripts were not able to read user input and/or display output to the user in certain situations - This fix introduces a Python InputReader manager class that mimics the behavior of the interactive interpreter in terms of access to I/O and ensures access to the input and output flows
llvm-svn: 158124
Diffstat (limited to 'lldb/source/Interpreter/CommandObjectScript.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObjectScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObjectScript.cpp b/lldb/source/Interpreter/CommandObjectScript.cpp
index 9736f49..5ade400 100644
--- a/lldb/source/Interpreter/CommandObjectScript.cpp
+++ b/lldb/source/Interpreter/CommandObjectScript.cpp
@@ -67,7 +67,7 @@ CommandObjectScript::ExecuteRawCommandString
}
// We can do better when reporting the status of one-liner script execution.
- if (script_interpreter->ExecuteOneLine (command, &result))
+ if (script_interpreter->ExecuteOneLine (command, &result, true))
result.SetStatus(eReturnStatusSuccessFinishNoResult);
else
result.SetStatus(eReturnStatusFailed);