Skip to main content

find_killable_pids

Function find_killable_pids 

Source
pub fn find_killable_pids(name: &str) -> Vec<u32>
Expand description

Returns PIDs that are NOT MCP stdio servers (safe to kill during lean-ctx stop). MCP servers are child processes of the IDE and must not be killed — the IDE will immediately respawn them, causing a kill loop that requires a reboot.