{"version":"2.1.333","anchor":"bash-command-splitting-backgroundpipe-detection-reworke","canonical_anchor":"bash-command-splitting-backgroundpipe-detection-reworke","heading":"Splitting of combined shell commands for permission checks reworked","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/bash-command-splitting-backgroundpipe-detection-reworke","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Splitting of combined shell commands for permission checks reworked\n\nThe check that splits shell commands joined by &&, ||, pipes or & before a permission decision has been reworked\n\n**Unclear.** Whether any command is now treated differently by the permission check is not determined.\n\n**What**\n\nBefore Claude Code decides whether a shell command needs your approval, it splits a combined command into its parts. Parts can be joined by:\n\n- `&&` and `||`, which run the next command depending on whether the previous one succeeded\n\n- `|`, a pipe, which sends one command's output into the next\n\n- `&`, which runs a command in the background\n\nThe way Claude Code finds where these joins fall has been reworked. The pattern that spots commands such as `export`, `unset` or `cd` placed before a `&` no longer reaches across line breaks.\n\n**Why**\n\nThis is part of how shell commands are checked before they run, so it can affect which commands go ahead without asking and which are brought to you.\n\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}