{"version":"2.1.334","anchor":"windows-remote-bash-refuses-over-long-commands-and-bracketed","canonical_anchor":"windows-remote-bash-refuses-over-long-commands-and-bracketed","heading":"Remote commands on Windows are refused when they could fail or run in the wrong folder","tier":"notice","area":"Windows","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/windows-remote-bash-refuses-over-long-commands-and-bracketed","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Remote commands on Windows are refused when they could fail or run in the wrong folder\n\nOn Windows, remote bash commands that are too long, or whose path has a bracket or backtick, are now refused with a suggested fix\n\n**What**\n\nWhen Claude Code runs a bash command remotely on Windows, it now checks the command first. It refuses and shows a message starting \"Not run\" in two cases:\n\n- The command is too long for bash on Windows. The message suggests saving it as a script file and running that file.\n\n- The path contains a bracket or a backtick, so Windows PowerShell could start in a different folder. The message suggests installing Git for Windows or PowerShell 7.\n\n**Why**\n\nBefore, such a command could run in the wrong folder. Now you get a clear refusal and a fix to try.\n\n- Area: Windows\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}