[issue17647] subprocess.communicate() should preserve colored output on Windows

Richard Oudkerk report at bugs.python.org
Sun Apr 7 20:39:22 CEST 2013


Richard Oudkerk added the comment:

On 07/04/2013 7:21pm, R. David Murray wrote:
> Certainly on unix if you write ANSI color codes to stdout and the reader
> doesn't strip them, they will be preserved and can be redisplayed, so
> being able to do something similar on Windows would be nice.

Although sensible unix programs capable of producing coloured text 
refuse to do so (by default) if output is a pipe rather than a tty.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17647>
_______________________________________


More information about the Python-bugs-list mailing list