Pattern
Windows Captured-Stdout Encoding Crash
windows-piped-stdout-encoding-fallback
Windows exits with nonzero status when a Python script prints emoji to captured/piped stdout because stdout encoding falls back to cp1252, and character-map encoding fails inside the output path rather than during computation.