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

Capture native command output using screen scraping API on Windows #335

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

daxian-dbw
Copy link
Member

PR Summary

Update the Resolve-Error command to capture native command output using screen scraping API on Windows.
On non-Windows or when screen scraping fails with exception, we fall back to the existing UseClipboardForCommandOutput approach for the native command output.

image

image

image

@daxian-dbw daxian-dbw requested a review from Copilot February 1, 2025 01:01

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@daxian-dbw daxian-dbw merged commit 274ff5d into PowerShell:main Feb 1, 2025
4 checks passed
@daxian-dbw daxian-dbw deleted the native-output branch February 1, 2025 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant