Remove dependency on deprecated WMIC #3687
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
The current implementation uses wmic to obtain a list of processes to be debugged.
https://github.com/golang/vscode-go/blob/master/extension/src/utils/wmicProcessParser.ts
However, wmic has been discontinued and is disabled in new installations of Windows 11 24H2.
Therefore, a list of debug processes cannot be obtained in this environment.
https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like to be able to obtain a process list in a way that does not depend on wmic.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
It looks like you can use PowerShell as an alternative.
https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242
Additional context
Add any other context or screenshots about the feature request here.
there is no.
The text was updated successfully, but these errors were encountered: