Environment variables

CLAUDE_CODE_DISABLE_BACKGROUND_TASKS

Prevents tasks, shells, and subagents from automatically or manually switching into background execution.

Syntax

CLAUDE_CODE_DISABLE_BACKGROUND_TASKS

Type to search the reference, templates and lessons.