{"version":"2.1.299","anchor":"queued-shell-lines-not-run-in-remote-attached-terminals","canonical_anchor":"queued-shell-lines-not-run-in-remote-attached-terminals","heading":"Queued ! commands are skipped in terminals attached to a remote session","tier":"notice","area":"Sessions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/queued-shell-lines-not-run-in-remote-attached-terminals","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### Queued `!` commands are skipped in terminals attached to a remote session\n\nWhen your terminal is attached to a remote session, queued `!` shell commands are skipped with a warning while other queued prompts still run\n\n**What**\n\nStarting a line with `!` runs it as a shell command directly. You can queue lines while Claude Code is busy. When your terminal is attached to a remote session, queued `!` lines are now skipped, and a warning says the command did not run because the terminal is attached to a remote session. The other queued prompts still run.\n\n**Why**\n\nThis stops a remote session from running shell commands on your local machine. Run such commands yourself once you are no longer attached.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}