rexpect
rexpect copied to clipboard
Copying child process output
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 any chance this could be supported?
I think this is very important for this crate to be useful. I'll start looking at it.
I'm looking at pulling in termcolor crate, to output e.g. black output for stdout, green for stdin, and yellow for control-characters, or something like that.
I think it is very useful in pexpect for debugging and while developing scripts.