critical:Process.getpgid returns the process group ID for the calling process id when passed 0
