{"version":"2.1.327","anchor":"headless-cloud-accepts-a-piped-prompt","canonical_anchor":"headless-cloud-accepts-a-piped-prompt","heading":"claude -p --cloud picks its task from a different place","tier":"internal","area":"Cloud Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/headless-cloud-accepts-a-piped-prompt","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### `claude -p --cloud` picks its task from a different place\n\nWhen `claude -p --cloud` runs without the interactive screen, it now takes its task from a new value first and falls back to the old one\n\n**Unclear.** It is not clear where the new task value comes from or whether piped input is now handled differently.\n\n**What**\n\n`--cloud` starts a cloud session, which runs on Anthropic's servers instead of your computer. With `-p`, Claude Code runs without its interactive screen. In that mode, Claude Code now checks a new value for the task first and uses the old one only when the new one is missing. The error is unchanged: the task can still be given as the prompt, as the value of `--cloud`, or on standard input, meaning text piped into the command.\n\n**Why**\n\nThis may change how text piped into `claude -p --cloud` is used as the task.\n\n- Area: Cloud Sessions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}