環境変数
CLAUDE_DISABLE_ADOPT
型
string1 を設定すると、← キーまたは /background でセッションをバックグラウンド化する際に、実行中のバックグラウンド作業を引き継ぐ代わりに停止する。Claude Code はバックグラウンド化の前に確認を求め、その後、引き継がれるはずだったタスクを停止する。Claude Code v2.1.195 以降が必要である。
取りうる値
0 |
|---|
1 |
英語原文(公式ドキュメントより)
Set to 1 to stop in-flight background work instead of carrying it over when you background a session by pressing ← or with /background. Claude Code asks you to confirm before backgrounding, then stops the tasks that would otherwise carry over. Requires Claude Code v2.1.195 or later. See https://code.claude.com/docs/en/env-vars
関連ドキュメント
まだ変更履歴との関連付けはありません