⌨️CLAUDE_CODE_DISABLE_BACKGROUND_TASKS
Also known as CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1
Set to 1, it keeps each command and helper in front.
Think of it like
It is like you ask a helper to finish one job. Then they start the next.
Example
Lucy's CI logs got confusing when jobs ran in the back. She sets this, and every step now finishes in order.
Why it matters
Jobs in the back are fast but hard to follow. In some places, order matters more.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1
claudeCommon mistake
Key takeaways
- 1No background shells. Or subagents.
- 2No Ctrl+B. When set.
- 3MCP tasks still run. In the back.