process-name

process-name is a built-in function in `C source code'.

(process-name PROCESS)

Return the name of PROCESS, as a string.
This is the name of the program invoked in PROCESS,
possibly modified to make it unique among process names.