Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[REQUEST] pexpect and rich combination #2733

Closed
aztec102 opened this issue Jan 5, 2023 · 2 comments
Closed

[REQUEST] pexpect and rich combination #2733

aztec102 opened this issue Jan 5, 2023 · 2 comments

Comments

@aztec102
Copy link

aztec102 commented Jan 5, 2023

Hello!
I use the pexpect module for automation and specifically its pexpect.spawn() and pexpect.interact() methods. Tried different things using rich, but I would like to fully process the output from interact.
It is possible to fully process through the output_filter in the interact() method. But there are nuances.

  1. There byte string
  2. If logfile is used, completely colors the entire file.

I did not find similar requests, so it will be interesting to hear a response from the community.

@github-actions
Copy link

github-actions bot commented Jan 5, 2023

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

@willmcgugan
Copy link
Collaborator

I'm not familiar with pexpect, and its not clear what the issue is. Moving to discussions.

@Textualize Textualize locked and limited conversation to collaborators Jan 14, 2023
@willmcgugan willmcgugan converted this issue into discussion #2753 Jan 14, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants