E.6.3 Process Internals
The fields of a process are:
- A string, the name of the process.
- A list containing the command arguments that were used to start this
process. For a network or serial process, it is
nil if the
process is running or
t if the process is stopped.
- A function used to accept output from the process instead of a buffer,
- A function called whenever the process receives a signal, or
- The associated buffer of the process.
- An integer, the operating system's process ID.
- A flag, non-
nil if this is really a child process.
nil for a network or serial connection.
- A marker indicating the position of the end of the last output from this
process inserted into the buffer. This is often but not always the end
of the buffer.
- If this is non-zero, killing Emacs while this process is still running
does not ask for confirmation about killing the process.
- These two fields record 16 bits each of the process status returned by
wait system call.
- The process status, as
process-status should return it.
- If these two fields are not equal, a change in the status of the process
needs to be reported, either by running the sentinel or by inserting a
message in the process buffer.
nil if communication with the subprocess uses a PTY;
nil if it uses a pipe.
- The file descriptor for input from the process.
- The file descriptor for output to the process.
- The file descriptor for the terminal that the subprocess is using. (On
some systems, there is no need to record this, so the value is
- The name of the terminal that the subprocess is using,
nil if it is using pipes.
- Coding-system for decoding the input from this process.
- A working buffer for decoding.
- Size of carryover in decoding.
- Coding-system for encoding the output to this process.
- A working buffer for encoding.
- Size of carryover in encoding.
- Flag to set
coding-system of the process buffer from the
coding system used to decode process output.
- Symbol indicating the type of process:
blog comments powered by