mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 10:19:47 -04:00
3a4e166545
Two failures hit while migrating a title on Windows 11: - `audit` crashed with UnicodeEncodeError on the "->" mark (U+2192) when the console code page can't encode it (cp1250 here). main() now reconfigures stdout/stderr with errors="replace", so reports degrade those characters instead of aborting. - record_framework_pins failed. subprocess.run(["bash", ...]) lets CreateProcess search System32 first, which starts WSL's bash; it can't see D:/ paths, and a CRLF checkout of record_pins.sh breaks any bash anyway. It now resolves bash via shutil.which, passes POSIX-style paths, and falls back to the existing git rev-parse snapshot when the script can't run. Most of this was done by Claude Opus 5.5; I reviewed and tested it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>