Skip to content

Version 0.4.8

Pre-release
Pre-release
Compare
Choose a tag to compare
@elesiuta elesiuta released this 19 Jan 06:07
· 53 commits to master since this release
version 0.4.8

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