[Lldb-commits] [PATCH] D82272: [lldb/Lua] Recognize "quit" as a way to exit the interactive script interpreter.

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 22 09:39:57 PDT 2020


JDevlieghere added a comment.

In D82272#2106402 <https://reviews.llvm.org/D82272#2106402>, @labath wrote:

> It seems reasonable. Btw, have you figured out how the embedded python does it? -- I haven't been able to find the code for handling that.


No, I couldn't find the code either.

> The python interpreter also intercepts `os.exit()` to avoid terminating the program (it just terminates the python session). I suppose we should do the same with lua's `os.exit`...

Yep, that sounds good.


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82272/new/

https://reviews.llvm.org/D82272





More information about the lldb-commits mailing list