================
@@ -297,9 +347,12 @@ static Status spawn_process(const char *progname, const 
FileSpec &prog,
 
   launch_info.SetLaunchInSeparateProcessGroup(false);
 
-  if (g_server)
+  // Set up process monitor callback based on whether we're in server mode
+  if (multi_client)
+    // In server mode: empty callback (don't terminate when child exits)
----------------
JDevlieghere wrote:

```suggestion
    // In server mode: empty callback (don't terminate when child exits).
```

https://github.com/llvm/llvm-project/pull/162730
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to