Skip to content

The agent that grows with you

fix(terminal): annotate sweep as POSIX-only for the killpg guard lint (#85125 CI)

kshitijk4poor457e9b8d7351
diff --git a/tools/environments/local.py b/tools/environments/local.py
index d7ac3580e83..90cef0362ee 100644
--- a/tools/environments/local.py
+++ b/tools/environments/local.py
@@ -1931,6 +1931,9 @@ class LocalEnvironment(BaseEnvironment):
members keep their SIGTERM grace window; only escapees
(own setsid sessions) are force-killed. psutil's
identity-aware Process means recycled PIDs are skipped.
+
+ POSIX-only: reached solely from the non-_IS_WINDOWS
+ branch above (the win32 path returns earlier).
"""
for child in descendants:
try: