{"name":"CLAUDE_PTY_HOST_EXEC","slug":"claude-pty-host-exec","family":"env","title":"Environment variables","noun":"environment variable","description":"Claude Code adds seven environment variable names for background sessions and terminal hosts to a list it keeps of such names","description_source":"entry","described_by":{"version":"2.1.290","anchor":"new-backgroundpty-env-vars-added-to-a-passthrough-list"},"presence":{"first_seen":"2.1.144","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":144,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.290","anchor":"new-backgroundpty-env-vars-added-to-a-passthrough-list","heading":"Seven background-session environment variable names added to an internal list","line":"Claude Code adds seven environment variable names for background sessions and terminal hosts to a list it keeps of such names","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_PTY_HOST_NO_STABLE_PATH","slug":"claude-pty-host-no-stable-path","description":"On macOS, setting CLAUDE_CODE_DISABLE_BG_STABLE_PATH makes background sessions relaunch from the running program instead of the stable path"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-pty-host-exec","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}