Mwnci procexists() Function

Syntax

procexists(integer)

Description

The procexists() function returns true if the given PID exists, otherwise false.

Example

InitPID=1
if (procexists(InitPID)) {
    println("Phew: init is running")
}