expectrl icon indicating copy to clipboard operation
expectrl copied to clipboard

A rust library for controlling interactive programs in a pseudo-terminal

Results 23 expectrl issues
Sort by recently updated
recently updated
newest added

Even though it was tested on Windows and OSX. Running a test suite may help to spot some issues. For example on my machine on widows it passes all tests....

tracking

related to #35 - we'd like to be able to get access to the session's stream - we're using it to put a process to a background with - we...

I think for people who don't uses Regex, it could be good to not include it as a dependency to decrease a crate size. ```toml [features] default = ["regex"] regex...

good first issue

It requires an investigation if this is valuable at first. But the idea can be found in pexpect. https://pexpect.readthedocs.io/en/stable/api/pxssh.html

enhancement
good first issue

The code below run as expected, printing the `git diff` help, then `result StillAlive`, then exiting. fn main() { let mut cmd = std::process::Command::new("git"); cmd.args(["diff"]); cmd.current_dir("/tmp"); let mut session =...

help wanted

The issue is we can't `Send+Clone` `&mut Self` for `future` which will be spawned in handler. We need to use some kind of `mutex` but we can't use the one...

help wanted
good first issue

My guess for some reason when we do an expect of initial prompt something is changed so type ENTER causes a production of CTRL-M(^M) where without it it causes \r\n

help wanted