================
@@ -0,0 +1,48 @@
+import * as path from "path";
+import { BaseProcessTree, ProcessTreeParser } from "../base-process-tree";
+
+export class WindowsProcessTree extends BaseProcessTree {
+  protected override getCommand(): string {
+    return "PowerShell";
+  }
+
+  protected override getCommandArguments(): string[] {
+    return [
+      "-Command",
+      'Get-CimInstance -ClassName Win32_Process | Format-Table ProcessId, 
@{Label="CreationDate";Expression={"{0:yyyyMddHHmmss}" -f $_.CreationDate}}, 
CommandLine | Out-String -width 9999',
----------------
vogelsgesang wrote:

please update the commit message / PR description

> Windows: uses WMIC.exe to query WMI for processes


https://github.com/llvm/llvm-project/pull/128943
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to