[Lldb-commits] [lldb] [lldb-dap] Add process picker command to VS Code extension (PR #128943)
Matthew Bastien via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 6 13:49:16 PST 2025
================
@@ -0,0 +1,52 @@
+import * as path from "path";
+import { BaseProcessTree, ProcessTreeParser } from "../base-process-tree";
+import { ChildProcessWithoutNullStreams, spawn } from "child_process";
+
+export class WindowsProcessTree extends BaseProcessTree {
+ protected override spawnProcess(): ChildProcessWithoutNullStreams {
+ const wmic = path.join(
+ process.env["WINDIR"] || "C:\\Windows",
+ "System32",
+ "wbem",
+ "WMIC.exe",
----------------
matthewbastien wrote:
Hmmmmm. I didn't know about that. I'll have to look at their alternatives.
FWIW I do have a Windows 11 machine running the latest updates and it's working there.
https://github.com/llvm/llvm-project/pull/128943
More information about the lldb-commits
mailing list