Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only use line buffering in text mode when calling Popen
Python3.8 started complaining loudly when trying to open a stream in binary mode but with line buffering enabled. So we should only try to set `bufsize` to `1` when we enable `text` or `universal_newlines` mode. see https://docs.python.org/3/library/subprocess.html#subprocess.Popen under bufsize
- Loading branch information