Monthly Archives: May 2018

Python program with tee

I ran into problems with Python not piping stdout to tee. The problem was that Python is buffering the stdout. To enable tee to work, you simply need to put a -u flag there. python -u your_script | tee your_log … Continue reading

Posted in Uncategorized | Leave a comment