diff options
| author | cweohme <302939502+cweohme@users.noreply.github.com> | 2026-11-28 03:49:04 +0300 |
|---|---|---|
| committer | cweohme <302939502+cweohme@users.noreply.github.com> | 2026-11-28 03:49:04 +0300 |
| commit | 635bab171f309c23525c834f578de41ab46f8e77 (patch) | |
| tree | 131f7463f6c88a7b45e2d90a69e2495e1f063921 /scripts/launcher_python.sh | |
| parent | 431ceba4f4a55c69c26fcf0e36fd83e86e1b9a32 (diff) | |
tools/scripts: the eight remaining __main__ blocks set errors=replace on stdout
test_tool_stdout_encoding fails on main: leonida_launcher, ps_prompt_glyphs,
victory_saves, volume_stats, world_hotspots, fetch_vkd3d_proton, port_ctl and
sync_victory still print paths a Windows ANSI code page cannot encode, and die
with UnicodeEncodeError when stdout is redirected under python -I. Add the
same one-line guard the other programs already have (exe_sha.py, #605).
Tested: test_tool_stdout_encoding (4 tests), test_tool_startup,
test_victory_saves, compileall, run_semantic_tests (6397 tests, 0 failed).
AI-assisted: yes (Qwen Code).
Diffstat (limited to 'scripts/launcher_python.sh')
0 files changed, 0 insertions, 0 deletions