-
Notifications
You must be signed in to change notification settings - Fork 63
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
DRAFT: Add suggested fixes for known build issues #376
base: branch-24.03
Are you sure you want to change the base?
Conversation
This needs to be changed to both capture output and continue to pipe output to the terminal. I don't recall an easy way to do this with Python. |
OKGREEN = "\033[92m" | ||
WARNING = "\033[93m" | ||
FAIL = "\033[91m" | ||
ENDC = "\033[0m" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could imitate the API I've used elsewhere for consistency
(just manually, w/o using colorama
)
@jjwilke it seems non-trivial enough that there is an entire package for doing it https://github.com/pycontribs/subprocess-tee Maybe we could simplify it and vendor the parts we need. Otherwise, you can capture stdout and then just print it back out yourself, but obviously that won't update the console "in real time" |
No description provided.