invocation-name

invocation-name is a variable defined in `C source code'.
Its value is
"emacs"


Documentation:
The program name that was used to run Emacs.
Any directory names are omitted.