ProcessTree.flatten

Process[] flatten()

Flattens the tree into a single array of processes.

Returns

All processes in the tree (root and all descendants).