{"name":"CLAUDE_SUBAGENT_BG_SHELL_MAX_MS","slug":"claude-subagent-bg-shell-max-ms","family":"env","title":"Environment variables","noun":"environment variable","description":"Milliseconds a backgrounded shell command started by a subagent may keep running before Claude Code kills it (`SIGTERM` to its process tree). Default `3600000` (one hour); an unset or non-numeric value uses the default, and the value is declared as an integer with minimum `1`. Shells with no subagent id get no cap, and on the start-in-background path `monitor` shells are exempt.","description_source":"code","described_by":{"bundle":"2.1.259","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.138","removed_in":"2.1.260","in_current_build":false,"newest_mined":"2.1.308","builds":105,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[],"docs_total":0,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-subagent-bg-shell-max-ms","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}