[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Several functions return information about processes.
list-processes
is provided for interactive use.
nil
.
(process-list) => (#<process display-time> #<process shell>) |
nil
if
there is none. An error is signaled if name is not a string.
(get-process "shell") => #<process shell> |
(process-command (get-process "shell")) => ("/bin/csh" "-i") |
t
for an ordinary child process, and
(hostname service)
for a net connection
(see section 37.12 Network Connections).
The possible values for an actual subprocess are:
run
stop
exit
signal
open
closed
nil
(process-status "shell") => run (process-status (get-buffer "*shell*")) => run x => #<process xx<1>> (process-status x) => exit |
For a network connection, process-status
returns one of the symbols
open
or closed
. The latter means that the other side
closed the connection, or Emacs did delete-process
.
process-status
to
determine which of those it is.) If process has not yet
terminated, the value is 0.
nil
if it is using pipes
instead of a terminal (see process-connection-type
in
37.4 Creating an Asynchronous Process).
(coding-system-for-decoding . coding-system-for-encoding) |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |