-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
should work similar to 0.4.1 (prints lines as they come) without the overly ambitious goal of handling all commands like status bars that rewrite previous lines or maybe the one I was testing it on was just weird don't think it is even possible without an overcomplicated solution since tee itself did not work if this still doesn't work, will revert to subprocess.run behaviour of the last stable version (0.3.8) also alternative implementation could use something like tee = subprocess.Popen(["tee", "tmp.txt"], stdin=proc.stdout) or tee = subprocess.Popen(["tee", "tmp.txt"], stdin=subprocess.PIPE) and set proc's stdout=tee.stdin however it didn't appear to work any differently than what I have now could be used to improve verify where there is a bash -c "cmd | tee ..." if quoting becomes an issue
- Loading branch information
Showing
2 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters