{"version":"2.1.4","anchor":"environment-variable-to-disable-background-tasks","canonical_anchor":"environment-variable-to-disable-background-tasks","heading":"Environment Variable to Disable Background Tasks","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.4\/e\/environment-variable-to-disable-background-tasks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.4","markdown":"### Environment Variable to Disable Background Tasks\n\n**What**\n\nNew `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS` environment variable allows disabling the background task functionality.\n\n**Usage**\n\n`export CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1 claude` **Details** - When set, the `run_in_background` parameter documentation is hidden from tool descriptions - The `ctrl+b` shortcut to background a task is disabled - Background agent execution via `run_in_background` parameter is disabled - Useful for environments where background task management is not desired or causes issues **Evidence** `Go8()` at line 280507 (background task doc generator, checks `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS`); `ifA` at line 447674 (Task agent parameter schema, gated by same env var)"}