xpipe/lang/base/texts/executionType_zh.md
2024-04-13 16:23:09 +00:00

16 lines
719 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 执行类型
XPipe 连接到系统时有两种不同的执行类型。
### 在后台
与系统的首次连接是在后台的哑终端会话中进行的。
当 XPipe 首先在后台内部启动 shell 进程时,需要用户输入的阻塞命令会冻结 shell 进程。为避免出现这种情况,只能在终端模式下调用这些阻塞命令。
例如,文件浏览器完全使用哑模式后台处理其操作,因此如果您希望脚本环境适用于文件浏览器会话,则应在哑模式下运行。
### 在终端中
初始哑终端连接成功后XPipe 将在实际终端中打开一个单独的连接。如果您希望在终端打开连接时运行脚本,那么请选择终端模式。