# Expect

# 简介

This extension allows to interact with processes through PTY. You may consider using the `expect://` wrapper with the filesystem functions which provide a simpler and more intuitive interface.

- 安装/配置
  - 需求
  - 安装
  - 运行时配置
  - 资源类型
- 预定义常量
- 示例
  - Expect Usage Examples
- Expect 函数
  - expect_expectl — Waits until the output from a process matches one of the patterns, a specified time period has passed, or an EOF is seen
  - expect_popen — Execute command via Bourne shell, and open the PTY stream to the process

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open