diff --git a/launchGui.pyw b/launchGui.pyw index ba06f61baf1622b33affefedc34bcaa979eae666..fe29410b2a0ddac459cdbd32da48b0b98dadab6d 100755 --- a/launchGui.pyw +++ b/launchGui.pyw @@ -329,14 +329,14 @@ class LaunchGui(QWidget): #@pyqtSlot() def readStdOutput(self): - out = self.process.readAllStandardOutput() - print ("out = ", out) - print ("type out = ", type(out)) - out = str(out)#.encode('utf8') + out = self.process.readAllStandardOutput() + out = bytes(out.data()) + out = out.decode() out = out.replace('>>> >>> ... ... ... ... ... >>>','') out = out.replace('>>> ','') out = out.replace('\r\n','\n') - self.write(out.encode('utf-8')) + + self.write(out) #self.console.append(QString(out)) ''' self.console.moveCursor (QTextCursor.End)