Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on deprecated WMIC #3687

Open
y-k-m opened this issue Feb 20, 2025 · 1 comment
Open

Remove dependency on deprecated WMIC #3687

y-k-m opened this issue Feb 20, 2025 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@y-k-m
Copy link

y-k-m commented Feb 20, 2025

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.

@gopherbot gopherbot added this to the Untriaged milestone Feb 20, 2025
@findleyr findleyr modified the milestones: Untriaged, v0.46.0 Feb 20, 2025
@findleyr
Copy link
Member

Thanks for the heads up.

@h9jiang can you help triage this change? It sounds like we should prioritize this for an upcoming release. Tentatively putting in v0.46.0, though perhaps it should be in v0.47.0.

@h9jiang h9jiang added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants