> For the complete documentation index, see [llms.txt](https://emacs-lisp.ivory.cafe/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://emacs-lisp.ivory.cafe/lisp-shu-ju-lei-xing/2.5-bian-ji-lei-xing/2.5.8-jin-cheng-lei-xing.md).

# 2.5.8 进程类型

术语进程通常指一个运行中的程序。Emacs本身就是一系列进程的有序集合。但在 Emacs Lisp 中，进程是一个用来指代 由 Emacs 进程创建的子进程 的对象。在 Emacs 中作为子进程运行的 shell，GDB，ftp以及编译器，都极大的拓展了 Emacs的能力。Emacs 子进程会从 Emacs 中获取文本输入，并将输出以文本的形式输出到 Emacs，以用来后续操作。此外，Emacs 也可以向它的子进程传递信号。

进程对象没有读取语法。它们的打印表示采用哈希记法，其中包含了进程的名称：

```
(process-list)
    => (#<process shell>)
```

查阅进程章节，以获得更多和进程创建、删除、获取元信息、输入、信号传递以及获取输出相关的知识。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://emacs-lisp.ivory.cafe/lisp-shu-ju-lei-xing/2.5-bian-ji-lei-xing/2.5.8-jin-cheng-lei-xing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
