Skip to content

fix(cli): keep redirected Windows output from failing commands - #723

Merged
KAJdev merged 1 commit into
mainfrom
zeke/con-2173-windows-rp-exits-1-with-unicodeencodeerror
Nov 13, 2026
Merged

KAJdev merged 1 commit into
mainfrom
zeke/con-2173-windows-rp-exits-1-with-unicodeencodeerror

Conversation

@KAJdev

@KAJdev KAJdev commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Redirecting rp flash deploy > out.txt 2>&1 on Windows can raise UnicodeEncodeError when the output encoding cannot represent symbols such as ✓ or →. Printing build progress can also turn a completed build into exit code 1.

The CLI configures stdout and stderr to substitute ? for characters their encoding cannot represent, so writing progress and completion messages succeeds without requiring PYTHONUTF8=1.

Fixes CON-2173

@KAJdev
KAJdev merged commit 8714afe into main Nov 13, 2026
8 checks passed
@KAJdev
KAJdev deleted the zeke/con-2173-windows-rp-exits-1-with-unicodeencodeerror branch November 13, 2026 18:21
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.

2 participants