On 13/11/12 14:50, Aurelien Buhrig wrote: > Ok, it's a windows executable... so newlines contain \r and are not > misinterpreted in tcl. To workaround the issue, I made used a shell > script as GCC_UNDER_TEST : > > #!/bin/sh > wine /path/to/<target>-gcc.exe $@ | sed -e "s#\r##" > > Do you have a better solution? > > Aurélien You could probably set binary mode in an object linked to the items, but just stripping the \r seems a better one.