Skip to content

Document subprocess reaping in security guidelines#4

Open
assisted-by-ai wants to merge 1 commit into
masterfrom
claude/fix-canary-zombie-process-N97Yg
Open

Document subprocess reaping in security guidelines#4
assisted-by-ai wants to merge 1 commit into
masterfrom
claude/fix-canary-zombie-process-N97Yg

Conversation

@assisted-by-ai
Copy link
Copy Markdown
Owner

Summary

  • Add "Always reap child processes in Python" section to agents/security.md
  • Documents the process.wait() after process.kill() pattern based on the canary-download zombie process fix
  • Covers signal handler cleanup and communicate() vs wait() guidance

Test plan

  • Verify guidance is accurate and consistent with the canary-download fix in 5217b86

https://claude.ai/code/session_012TwkQYwRUwxpuNFPUdsZfd


Generated by Claude Code

Add guidance on always calling process.wait() after process.kill()
to prevent zombie processes, based on the canary-download fix.

https://claude.ai/code/session_012TwkQYwRUwxpuNFPUdsZfd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants