getProcessID

getProcessID calls getpid to obtain the ProcessID for the current process.