# io.github.libtmux.internal.ProcessTree.ProcessTree

- **Module:** io.github.libtmux.internal.ProcessTree
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/internal/ProcessTree.java#L17
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-internal-processtree-processtree/

Owns bounded, idempotent termination of one process and its observable descendants.

## Members

- `ProcessTree` (method) — Takes ownership of terminating {@code root} and descendants visible from it.
- `captureDescendants` (method) — Retains descendants before another cleanup step can make the root disappear.
- `terminate` (method) — Terminates the known process tree, closes the root's streams, and reports reclamation.
