Process.pid

Return the running process' ID.

class Process
int
pid
()

Return Value

Type: int

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

Meta