CLAUDE_CODE_RELAUNCH_SANDBOX_HOLD
Updated by Alex Sorokoletov
CLAUDE_CODE_RELAUNCH_SANDBOX_HOLD is a Claude Code environment variable. Added between v2.1.326 and v2.1.331 and still present in v2.1.332. It is not in the official reference.
| Status | Present in v2.1.332 |
|---|---|
| Added | Added between v2.1.326 and v2.1.331 |
| Category | Permissions and sandbox |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_RELAUNCH_SANDBOX_HOLD=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_RELAUNCH_SANDBOX_HOLD": "<value>"
}
}Related variables
CLAUDE_CODE_BASH_SANDBOX_SHOW_INDICATOR: Show indicator when bash runs in sandbox.CLAUDE_CODE_HOLD_UNANSWERED_PARKED_PERMISSION: Held an unanswered parked permission request open instead of retiring it, keeping the turn waiting on it; read until v2.1.269.CLAUDE_CODE_SANDBOX_LEAVE_DENIES_TO_SRT_WIN: Set to skip configuring the sandbox's native Windows deny rules; when present, that setup logs as switched off and returns without applying them.CLAUDE_CODE_SANDBOX_LEAVE_PARENT_FOLDERS_ALONE: On Windows, set to skip the sandbox step that adjusts permissions on the project's and home directory's parent folders; when present it logs as switched off and returns.CLAUDE_CODE_FORCE_SANDBOXCLAUDE_TEST_SANDBOXCLAUDE_BG_SESSION_PERMISSION_RULES: In a background session, supplies JSON permission rules with allow and deny arrays and optional addDirs; ignored when absent or malformed.CLAUDE_CHROME_PERMISSION_MODE: Permission mode for Claude for Chrome.
Frequently asked questions
Which Claude Code version has CLAUDE_CODE_RELAUNCH_SANDBOX_HOLD?
Added between v2.1.326 and v2.1.331 and still present in v2.1.332.
How do I set CLAUDE_CODE_RELAUNCH_SANDBOX_HOLD?
Export it before starting Claude Code (export CLAUDE_CODE_RELAUNCH_SANDBOX_HOLD=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.