New open-source tool Corral guarantees full cleanup of agent-spawned processes
A developer released Corral, a Linux command-line tool that runs a shell command with a time limit and ensures every process it spawned, including detached daemons, is terminated before returning. It uses cgroup v2's cgroup.kill for guaranteed cleanup when available, or acts as a child subreaper tracking processes via /proc and pidfds otherwise, and exits with code 120 if it cannot verify a clean kill. The tool requires Linux 5.11 or later, with 5.14 needed for its enforced cgroup mode, and is not intended as a security sandbox.