{"version":"2.1.336","anchor":"windows-bash-tool-can-reuse-waiting-bash-shells","canonical_anchor":"windows-bash-tool-can-reuse-waiting-bash-shells","heading":"Bash gets a head start from already-waiting shells, used on Windows","tier":"notice","area":"Windows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/windows-bash-tool-can-reuse-waiting-bash-shells","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Bash gets a head start from already-waiting shells, used on Windows\n\nBash now keeps waiting shells like PowerShell does, Windows Bash commands can reuse one, and more process calls count as long calls\n\n**What**\n\nThe Bash tool, which Claude uses to run shell commands, now has the same head-start bookkeeping that the PowerShell tool already had. A head start here means a shell that is already started and waiting when a command arrives.\n\n- New tracking state for Bash includes `waitingBashes` and `bashStartsToSkip`.\n\n- On Windows only, when a command is eligible, the Bash tool now takes an already-waiting bash (`Mn.waitingBashes.size > 0`) and uses that shell's task id for the command's output.\n\n- The calls `process.open`, `process.read`, `process.send` and `process.end` are now treated as `long_call`, as `process.run` already was. Before, only `process.run` was.\n\nThe stock `Bash` tool description is unchanged since v2.1.335, according to a capture taken under this release.\n\n**Why**\n\nReusing a shell that is already running could make Bash commands on Windows start faster. Treating the other process calls as long calls means they are handled the same way as `process.run`.\n\n- Area: Windows\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}