conda-forge / conda-forge/conda-forge-bot

adjust our code to call processes to act like `tee`

Open
#1,385 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
76
Forks
99
Avg merge
1h 44m
Merged PRs (30d)
126

Description

We should be capturing error text for rerendering calls in subprocesses. It is nice to see them in the bot logs too. Thus we should `tee` the output.

see
- https://stackoverflow.com/questions/2996887/how-to-replicate-tee-behavior-in-python-when-using-subprocess
- https://github.com/python/cpython/blob/master/Lib/subprocess.py#L509
- https://docs.python.org/3/library/subprocess.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.