You could have probably created your own little wrapper on top of subprocess.Popen and dispatch stdout and stderr around. No need for an external library with bad tty/piping defaults just because it has a nice API (which needs to be tweaked with _tty_out=False anyway if i want to pipe the output to another command.
Btw does rich scrape the special formatting characters if piped?
Btw does rich scrape the special formatting characters if piped?