Part of the TclX package.
id process
- Return the process ID of the current process (also see pid).
id process parent
- Return the process ID of the parent of the current process.
id process group
- Return the process group ID of the current process.
id process group set
- Set the process group ID of the current process to its process ID.