buildChildTrees

private fnProcessTree[] buildChildTrees(int parentPid) @safe

Recursively builds child trees for a given parent PID.

Parameters

parentPidThe PID of the parent process.

Returns

An array of ProcessTree structures for all direct children.