Process.pid

Return the running process' ID.

class Process
@property const
int
pid
()

Return Value

Type: int

an int with the process ID if the process is running; -1 if not.

Meta