[Lldb-commits] [PATCH] D48752: Quiet command regex instructions during batch execution

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 2 07:35:55 PDT 2018


clayborg added inline comments.


================
Comment at: source/Commands/CommandObjectCommands.cpp:1012
   void IOHandlerActivated(IOHandler &io_handler) override {
+    if (!io_handler.GetIsInteractive() && !io_handler.GetIsRealTerminal())
+      // Don't print instructions during batch execution, such as .lldbinit.
----------------
Why do we need to check for a real terminal here? Isn't checking if it is interactive enough?


https://reviews.llvm.org/D48752





More information about the lldb-commits mailing list