Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Medium Target-2.5.6

New issue 777 by pekka.klarck: Disable colors in console output automatically when output redirected to file
http://code.google.com/p/robotframework/issues/detail?id=777

Nowadays when redirecting outputs to files on non-Windows machines you need to use `--MonitorColors off` to disable colors that mess up the outputs. We could trivially determine are outputs redirected by checking sys.__stdxxx__.isatty() and disable colors if they are. There shouldn't be need to use `--MonitorColors off` after that at least in normal cases.

After issue 753 is done we support colors also on Windows. The automatic enable/disable mechanism should thus only check isatty() and ignore OS.

Reply via email to