[Lldb-commits] [lldb] [lldb-dap] Add process picker command to VS Code extension (PR #128943)
via lldb-commits
lldb-commits at lists.llvm.org
Sat Mar 1 13:17:59 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",
----------------
Da-Viper wrote:
Is seems that the WMIC is program is disabled on windows 11 as it was deprecated in windows 10
see [here](https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242)
I am not able to confirm this on a computer as I do not have a windows 11 computer
https://github.com/llvm/llvm-project/pull/128943
More information about the lldb-commits
mailing list