{{tag>Programmers_Reference Methods AwareApp_Object Getprocessid Index}} ==== getProcessId ()==== Return the id of the currently running process or -1 if there are no processes currently running.