At Tuesday 26/9/2006 23:07, [EMAIL PROTECTED] wrote:
I would like to get the output of a shell process on Linux (eg, "ls
--color=auto") run via os.popen(), filter it and then output parts of
it while preserving any original coloring added by that process.
Yes, just omit the =auto (or use --color=always)
auto means "use colors *only* when *not* redirected"
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
--
http://mail.python.org/mailman/listinfo/python-list