Expect
Introduction
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.
- Installing/Configuring
- Predefined Constants
- Examples
- Expect Functions
- 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
+add a note
User Contributed Notes
There are no user contributed notes for this page.