getProcess

abstract fun getProcess(pid: Int): OSProcess

Retrieves a single process by its process ID.

Return

The OSProcess object corresponding to the given process ID.

Parameters

pid

The process ID of the process to retrieve.