Environment variables

CLAUDE_CODE_DISABLE_BG_EXIT_HANDOFF

Cancels active background shells and subagents when their session process halts, restarts, or updates.

Syntax

CLAUDE_CODE_DISABLE_BG_EXIT_HANDOFF

Type to search the reference, templates and lessons.