rexpect
rexpect copied to clipboard
Rust port of pexpect
Hi, this is a follow-up for #17. Basically I would like to be able to set the terminal size for the spawned process. My use case is as follows: I'm...
pexpect will eventually raise a timeout: > If nothing matches an expected pattern then [expect()](https://pexpect.readthedocs.io/en/stable/api/pexpect.html#pexpect.spawn.expect) will eventually raise a [TIMEOUT](https://pexpect.readthedocs.io/en/stable/api/pexpect.html#pexpect.TIMEOUT) exception. The default time is 30 seconds, but you can...
Is it possible to provide debugging facility like in pexpect: https://pexpect.readthedocs.io/en/stable/overview.html#debugging I can not find a way to redirect stdout. For example.expectrl has logging of stdout: https://docs.rs/expectrl/latest/expectrl/#an-example-of-logging
I have a ```rs pub session: Option, ``` I want to get the existing output of a process after 100ms. This seemed to work at first: ```rs let output =...
Added try_read_byte method. The try_read method may cause a panic when reading u8 as char with some colored characters . #103 Add a method to get u8 characters directly
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/rust-cli/rexpect). ## Config Migration Needed See Config Migration...
The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed. You don't need to merge this PR...
Hi, I was integrating `rexpect` into a project and found that the sleeps are longer than what we needed. Specifically the `sleep` in `read_until` is 100ms, and I found that...
When integrating `rexpect` into some of our tests I ran into an issue where the escape codes for [bracketed paste mode](https://en.wikipedia.org/wiki/Bracketed-paste) were present in the output. This naturally broke the...