[Lldb-commits] [PATCH] D51966: Do not create new terminals when launching process on Windows by default

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 12 01:31:03 PDT 2018


labath added a comment.

I think the issue here is that on windows we don't have the ability(*) to pipe stdio through lldb, so if you create a process without a console, you will not be able to use see it's output or pass it some input (probably fine for gui apps, but bad for console ones). This means your approach will also make things inconsistent with other platforms, only in a different way. (I don't really have an opinion which one is better/worse.)

(*) I think there is a way to emulate the unix pty behavior on windows, but it is not exactly straight-forward. It involves creating a hidden console and then polling that for changes/keypresses (I don't know the details, but that's how someone once explained it to me).


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51966





More information about the lldb-commits mailing list