diff options
| author | Enrico Granata <egranata@apple.com> | 2012-06-07 00:17:18 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2012-06-07 00:17:18 +0000 |
| commit | 79cc6f7a26649cc8812d6c97641fbfe5c37f7dc4 (patch) | |
| tree | 0d814e9d7d7b6d48cf71ba0e4ec5a3eec14a1ea4 /lldb/source/Interpreter/CommandObjectScript.cpp | |
| parent | 3e8cf2be79396b83969b8363d22c0ce5ecf3cbff (diff) | |
| download | bcm5719-llvm-79cc6f7a26649cc8812d6c97641fbfe5c37f7dc4.tar.gz bcm5719-llvm-79cc6f7a26649cc8812d6c97641fbfe5c37f7dc4.zip | |
<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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObjectScript.cpp b/lldb/source/Interpreter/CommandObjectScript.cpp index 9736f4985a4..5ade400d463 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); |

