[Lldb-commits] [lldb] [lldb] Quit automatically if --batch has no commands to run (PR #179969)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 5 08:08:29 PST 2026


DavidSpickett wrote:

I would skip review for this oh so important fix :), but I wondered if anyone had a better idea for testing it. I don't think there is a way to avoid using a timeout but would love to be proven wrong.

I could spawn the process and wait on it until it either ends or prints the prompt but that too would need to timeout eventually.

https://github.com/llvm/llvm-project/pull/179969


More information about the lldb-commits mailing list