Search the documentation
7 pages for claude_code_disable_background_tasks.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Code Review
Claude Code CLI · in the page
code-review
…e cloud review without waiting](#escalate-to-ultrareview) * You set [`CLAUDE_CODE_DISABLE_BACKGROUND_TASKS`](/docs/en/env-vars) to `1`, which also turns off every other background task feature ### Le…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS` | Set to `1` to disable all background task functionality, including the `r…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…with `Ctrl+B` To disable all background task functionality, set the `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS` environment variable to `1`. See [Environment variables](/docs/en/env-vars) for details. **…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…shold, or set it to `0` to turn automatic backgrounding off. Setting `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS` to `1` also turns it off, along with all other background task features. Some calls never m…
Extend Claude with skills
Claude Code CLI · in the page
skills
…nteractive mode, with the `-p` flag or the Agent SDK * When you set [`CLAUDE_CODE_DISABLE_BACKGROUND_TASKS`](/docs/en/env-vars) to `1`, which also turns off all other background task features * When y…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…error when a teammate sets `run_in_background: true`. * If you set [`CLAUDE_CODE_DISABLE_BACKGROUND_TASKS`](/docs/en/env-vars) to `1`, Claude Code runs the subagent in the foreground, in every kind o…
Tools reference
Claude Code CLI · in the page
tools-reference
…round subagent's command at that subagent's final response. Setting [`CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1`](/docs/en/env-vars#variables) disables auto-backgrounding along with the rest of the backg…