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

Set UseShellExecute to false in OpenLinuxBrowser #5101

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

xinyuxu1026
Copy link

Fixes #5075

Changes proposed in this request

Set UseShellExecute to false when set RedirectStandardOutput to true.
Ref: https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.redirectstandardoutput?view=net-8.0#remarks
Testing

Performance impact

Documentation

  • All relevant documentation is updated.

@xinyuxu1026 xinyuxu1026 requested a review from a team as a code owner January 24, 2025 00:34
@xinyuxu1026 xinyuxu1026 changed the title set UseShellExecute to false Set UseShellExecute to false in OpenLinuxBrowser Jan 24, 2025
Copy link
Member

@bgavrilMS bgavrilMS left a comment

Choose a reason for hiding this comment

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

Assuming that you have manually tested this.

@bgavrilMS bgavrilMS force-pushed the xinyu/shell-execute branch from 4bfba08 to 027b0a3 Compare January 28, 2025 10:35
@xinyuxu1026
Copy link
Author

@bgavrilMS Yes, I did the manual test for this!

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.

[Bug] OpenLinuxBrowser() fails when executed in a .NET Framework app running in mono
2 participants