docs(code-runtime-python): document the setsid-escape teardown limitation

A descendant that calls setsid()/start_new_session leaves the child's process
group, so kill(-pid) teardown cannot reach it; if it also releases the inherited
pipes the run still settles and the fiber goes quiescent while the orphan runs.
This is the containment boundary (model code has bash-equivalent trust), not a
guarantee; reaching such an orphan needs descendant-pid tracking and is deferred.
This commit is contained in:
Chinesezjc
2026-08-31 14:21:57 +08:00
committed by Tianyi Cui
parent ff604dc876
commit 3a560d37a6
3 changed files with 4 additions and 2 deletions
@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/code-runtime/code-runtime-python/README.md
README.md: 31c493ee119f145c7cf11ed22e2c191226919410
README.zh.md: 60233e71c3830e5acdb43b80ba7cdccfceef064a
README.md: 9fd541e2d77c4f84b23337df21bfa1676ddcc58f
README.zh.md: a48fc3ef51c2c2e27f5d7b91017524216fb283b4