[Lldb-commits] [PATCH] Close terminal after LaunchInTerminalTestCase test

Ilia K ki.stfu at gmail.com
Fri Feb 6 07:57:45 PST 2015


Hi zturner, jingham, clayborg,

The test_launch_in_terminal test leaves a running terminal.
This patch adds "exit" after debugging with eLaunchFlagLaunchInTTY flag.

http://reviews.llvm.org/D7468

Files:
  source/Host/macosx/Host.mm

Index: source/Host/macosx/Host.mm
===================================================================
--- source/Host/macosx/Host.mm
+++ source/Host/macosx/Host.mm
@@ -471,6 +471,7 @@
         command.Printf(" '%s'", exe_path);
     }
     command.PutCString (" ; echo Process exited with status $?");
+    command.PutCString (" ; exit");
     
     StreamString applescript_source;

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7468.19484.patch
Type: text/x-patch
Size: 385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150206/f180a9a8/attachment.bin>


More information about the lldb-commits mailing list