Expand description
Best-effort local process-tree termination.
This API does not require the running-process daemon. It snapshots the
tree, terminates the root first so it cannot create more descendants,
then terminates the captured descendants deepest-first. Process start
times are retained while waiting so a recycled PID is not treated as
the original target. On Windows these are exact kernel creation times;
other platforms use the best timestamp exposed by sysinfo.
Functionsยง
- kill_
tree - Kill the process tree rooted at
pid.