Function Reference
— Built-in Function: pid = getppid ()

Return the process id of the parent process.