Unclear It is not clear whether this refusal is switched on, since it is tied to a server-controlled switch.
Windows limits how long a command can be, and a command past that limit may be cut so that only its start runs. Claude Code now has a message that tells Claude it did not run a command, or one of its arguments, because it is too long to pass on Windows.
The message names what made it too long, for example:
- an added shell prefix
- removal of sign-in details from the command
- start-up files
- the length of the command itself
It tells Claude to put the command in a script file or split it into shorter commands. A server-controlled switch is tied to these messages.
Overlong commands on Windows used to be cut off without warning, so only part of them ran. Refusing with an explanation stops half a command from running and lets Claude try another way.
It is not clear whether this refusal is switched on, since it is tied to a server-controlled switch.