ptyprocess
A library provides an interface for a PTY/TTY.
The library provides a sync
and async
IO operations for communication.
To be able to use async
you must provide a feature flag [async]
and turn off default features default-features = false
.
The library was developed as a backend for a https://github.com/zhiburt/expectrl.
If you're interested in a high level operations may you'd better take a look at zhiburt/expectrl
.
Usage
use PtyProcess;
use Command;
use ;
Async
use PtyProcess;
use Command;
async