diff -r bc79bae54496 -r b396baae6aa7 UI/UserInterface.py --- a/UI/UserInterface.py Thu Apr 04 19:08:42 2013 +0200 +++ b/UI/UserInterface.py Fri Apr 05 17:50:32 2013 +0200 @@ -4160,9 +4160,8 @@ toolProcData[1] not in ["insert", "replaceSelection"]: # not connected to an editor or wrong mode while toolProc.canReadLine(): - s = "{0} - ".format(program) output = str(toolProc.readLine(), ioEncoding, 'replace') - s.append(output) + s = "{0} - {1}".format(program, output) self.appendToStdout(s) else: if toolProcData[1] == "insert": @@ -4183,9 +4182,8 @@ toolProc.setReadChannel(QProcess.StandardError) while toolProc.canReadLine(): - s = "{0} - ".format(program) error = str(toolProc.readLine(), ioEncoding, 'replace') - s.append(error) + s = "{0} - {1}".format(program, error) self.appendToStderr(s) def __toolFinished(self, exitCode, exitStatus):