Function: process-command

process-command is a function defined in process.c.

Signature

(process-command PROCESS)

Documentation

Return the command that was executed to start PROCESS.

This is a list of strings, the first string being the program executed and the rest of the strings being the arguments given to it. For a network or serial or pipe connection, this is nil (process is running) or t (process is stopped).

Source Code

// Defined in /usr/src/emacs/src/process.c
{
  CHECK_PROCESS (process);
  return XPROCESS (process)->command;
}