Claude Code on Windows Fails Silently in 15 Reproduced Cases
A developer running Claude Code unattended on Windows 11 with Windows PowerShell 5.1 found several failures that returned wrong results without raising any error. They reproduced each issue on a Japanese-locale machine, and re-ran code-page-dependent checks under English defaults, where only one trap stopped occurring. The problems include exit codes being altered by -Command, arguments being silently dropped or merged, and non-ASCII text arriving as question marks or as garbled characters. Other reported traps involve Python crashing when output is redirected, encoding-sensitive script parsing, and a PreToolUse hook whose write went through after timing out. The author published a free MIT-licensed script on GitHub so readers can check which of these issues occur on their own machines.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in