[Lldb-commits] [PATCH] D51966: Do not create new terminals when launching process on Windows with --no-stdio

Dávid Bolvanský via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 12 12:54:13 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB342075: Do not create new terminals when launching process on Windows with --no-stdio (authored by xbolva00, committed by ).

Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51966

Files:
  source/Host/windows/ProcessLauncherWindows.cpp


Index: source/Host/windows/ProcessLauncherWindows.cpp
===================================================================
--- source/Host/windows/ProcessLauncherWindows.cpp
+++ source/Host/windows/ProcessLauncherWindows.cpp
@@ -76,6 +76,9 @@
   if (launch_info.GetFlags().Test(eLaunchFlagDebug))
     flags |= DEBUG_ONLY_THIS_PROCESS;
 
+  if (launch_info.GetFlags().Test(eLaunchFlagDisableSTDIO))
+    flags &= ~CREATE_NEW_CONSOLE;
+
   LPVOID env_block = nullptr;
   ::CreateEnvironmentBuffer(launch_info.GetEnvironment(), environment);
   if (!environment.empty())


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51966.165137.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180912/0c8413ba/attachment.bin>


More information about the lldb-commits mailing list