# 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/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/internal/ProcessTree.java#L17
- **Page:** https://libtmux.org/en/java/latest/reference/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.
