expect Module

Expect is Don Libes’ tool for managing interactive applications. It was written as an extension to John Ousterhout’s Tcl. As a mark of its utility, alternative ports have appeared in many languages. Idio is no exception.

The expect module handles simple expect(1)-like behaviour.

Normally, spawn-id is a struct-spawn however it may be more convenient to operate on multiple spawned processes simultaneously by treating spawn-id as a list. This is allowed but you need a much deeper understanding of what your processes are doing particularly when matching :eof.

Last built at 2024-05-02T06:10:47Z+0000 from 62cca4c (dev) for Idio 0.3.b.6