mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-09 11:37:27 +05:00
Fix output formatting of Cleaner and SurfOpt plugins so that new lines are printed
This commit is contained in:
parent
f99f2e7e52
commit
f5882cb240
@ -120,11 +120,12 @@ class MGCleanerMonViewText(Ui_ViewExe, QDialog):
|
|||||||
|
|
||||||
def readFromStdErr(self):
|
def readFromStdErr(self):
|
||||||
a=self.monExe.readAllStandardError()
|
a=self.monExe.readAllStandardError()
|
||||||
self.TB_Exe.append(str(a.data()))
|
aa=a.data().decode(errors='ignore')
|
||||||
|
self.TB_Exe.append(aa)
|
||||||
|
|
||||||
def readFromStdOut(self) :
|
def readFromStdOut(self) :
|
||||||
a=self.monExe.readAllStandardOutput()
|
a=self.monExe.readAllStandardOutput()
|
||||||
aa=str(a.data())
|
aa=a.data().decode(errors='ignore')
|
||||||
self.TB_Exe.append(aa)
|
self.TB_Exe.append(aa)
|
||||||
|
|
||||||
def finished(self):
|
def finished(self):
|
||||||
|
@ -107,11 +107,12 @@ class MonViewText(Ui_ViewExe, QDialog):
|
|||||||
|
|
||||||
def readFromStdErr(self):
|
def readFromStdErr(self):
|
||||||
a=self.monExe.readAllStandardError()
|
a=self.monExe.readAllStandardError()
|
||||||
self.TB_Exe.append(str(a.data().encode()))
|
aa=a.data().decode(errors='ignore')
|
||||||
|
self.TB_Exe.append(aa)
|
||||||
|
|
||||||
def readFromStdOut(self) :
|
def readFromStdOut(self) :
|
||||||
a=self.monExe.readAllStandardOutput()
|
a=self.monExe.readAllStandardOutput()
|
||||||
aa=str(a.data())
|
aa=a.data().decode(errors='ignore')
|
||||||
self.TB_Exe.append(aa)
|
self.TB_Exe.append(aa)
|
||||||
|
|
||||||
def finished(self):
|
def finished(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user