getProcess

open override fun getProcess(pid: Int): OSProcess

Retrieves a single process by its PID.

Return

An OSProcess object representing the process with the given PID.

Parameters

pid

The PID of the process to retrieve.