Skip to content
Snippets Groups Projects
Commit aee9a91f authored by Papeleux Luc's avatar Papeleux Luc
Browse files

py3 port of launchGui

parent dcbdbf9e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment