rexpect icon indicating copy to clipboard operation
rexpect copied to clipboard

Rust port of pexpect

Results 53 rexpect issues
Sort by recently updated
recently updated
newest added

I don't know how ppl feel about API changes, I'd guess there are so few users it doesn't matter as long as the minor version id bumped appropriately. APIs should...

C-enhancement

Some binary data cannot be represented in an `&str`, so functions that take `&[u8]` are necessary. Unless I misunderstand or am using the wrong tool. Use case is programing Marvell...

C-enhancement

Try to read a utf-8 character, program panic. How to fix this problem? panicked at 'byte index 1 is not a char boundary; it is inside 'é' (bytes 0..2) of...

C-bug

Is there any way to return control of the terminal back to the user ? e.g. after connecting to a remote server. Thanks. In python `pexpect` I use `interact()` method...

pexpect has `child.logfile*` APIs to log child process output to a file-like destination. I looked around the docs but I didn't seem to find anything similar for `rexpect`. Is there...

@philippkeller this PR provides changes according to the last comments in #24. You can diff it against the exp_and_windows branch to see the changes or look at the d9f868b commit....

I am interested in adding Windows support for this crate. Would you be willing to accept a PR if I can get this working? Specifically, I want to look into...

C-enhancement

Is it possible to leverage https://docs.rs/strip-ansi-escapes/0.1.0/strip_ansi_escapes somehow to strip ANSI escape codes from the output?

It looks like otherwise the default is 0, which crashes some programs. I would make it customizable, but I'm not sure how to make API for that. Also see #10

just a mental note to fix those. Also: might be good to mention the tcp example in the README, or maybe not…

C-bug