ppid

Name

ppid -- Get parent process id.

Synopsis


            

package require Wait

set parent [ppid]

DESCRIPTION

Returns the parent process for the process. Normally if the parent has exited this will be 1, the pid of the init process. See the oprhan packagre for a useful application of this command.