Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying child process output #28

Open
danobi opened this issue Sep 28, 2020 · 1 comment
Open

Copying child process output #28

danobi opened this issue Sep 28, 2020 · 1 comment
Assignees

Comments

@danobi
Copy link

danobi commented Sep 28, 2020

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?

@souze
Copy link
Collaborator

souze commented Oct 19, 2022

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.

@souze souze self-assigned this Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants