Lutra/crates
danny 90d03284f2 H1: child processes die with Lutra (crates/proc)
New layer-0 crate lutra-proc: spawn(Command) puts the child into a
kill-on-close group. Windows: one job object per child with
JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE (windows-sys), nested jobs work.
Unix: a new process group plus a /bin/sh watchdog that kills the group
when Lutra's pipe closes (drop, kill, quit or SIGKILL of Lutra).
Child::kill and Drop take the whole group.

Phpactor (supervision spawn) and the php -v probe in lutra-lsp start
through it. Tests kill a parent hard and check that its child is gone
(with and without the parent in a group), plus kill and drop of a tree.
Docs: architecture "Child processes", G6 note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 12:59:57 +01:00
..
control M3.5: pending outcomes for commands that wait for the language server 2026-10-22 06:36:20 +02:00
engine M3.5: go to definition, find references and rename through Phpactor 2026-10-22 18:50:15 +02:00
index M2.5: symbol index and go-to commands 2026-10-17 12:53:33 +02:00
lsp H1: child processes die with Lutra (crates/proc) 2026-10-25 12:59:57 +01:00
mcp M3.8: MCP server lutra mcp 2026-10-20 20:43:12 +02:00
proc H1: child processes die with Lutra (crates/proc) 2026-10-25 12:59:57 +01:00
search M2.3: find in files backend 2026-10-16 22:04:28 +02:00
syntax M2.1: tree-sitter PHP in crates/syntax 2026-10-16 22:06:21 +02:00
terminal M3.6: integrated terminal with PTY sessions and xterm.js sub-tabs 2026-10-20 21:10:37 +02:00
testkit M3.5: pending outcomes for commands that wait for the language server 2026-10-22 06:36:20 +02:00
text M1.1: text buffer with UTF-16 positions, edit batches and line endings 2026-10-14 19:20:18 +02:00
vfs M1.2: native file watching via notify 2026-10-14 19:43:15 +02:00