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

Fix UnicodeDecodeError when checking Msvc tool #779

Merged
merged 2 commits into from
Dec 22, 2022

Conversation

yihuajack
Copy link
Contributor

According to Python 3 documentation https://docs.python.org/3/library/subprocess.html:
If encoding or errors are specified, or text is true, file objects for stdin, stdout and stderr are opened in text mode using the specified encoding and errors or the io.TextIOWrapper default.

Close #778

yihuajack and others added 2 commits December 22, 2022 21:14
According to Python 3 documentation https://docs.python.org/3/library/subprocess.html:
If encoding or errors are specified, or text is true, file objects for stdin, stdout and stderr are opened in text mode using the specified encoding and errors or the io.TextIOWrapper default.
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

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

Thanks for submitting the bug report and the fix, that's awesome! 👍

@danyeaw danyeaw merged commit 45589e9 into wingtk:main Dec 22, 2022
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.

UnicodeDecodeError when checking Msvc tool
2 participants