Process.parent

Process parent() @property @safe

Gets the parent process.

Returns

Process object for the parent, or null if no parent or unavailable.

Throws

NoSuchProcess if the parent process no longer exists.