mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +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):
|
||||
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) :
|
||||
a=self.monExe.readAllStandardOutput()
|
||||
aa=str(a.data())
|
||||
aa=a.data().decode(errors='ignore')
|
||||
self.TB_Exe.append(aa)
|
||||
|
||||
def finished(self):
|
||||
|
@ -107,11 +107,12 @@ class MonViewText(Ui_ViewExe, QDialog):
|
||||
|
||||
def readFromStdErr(self):
|
||||
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) :
|
||||
a=self.monExe.readAllStandardOutput()
|
||||
aa=str(a.data())
|
||||
aa=a.data().decode(errors='ignore')
|
||||
self.TB_Exe.append(aa)
|
||||
|
||||
def finished(self):
|
||||
|
Loading…
Reference in New Issue
Block a user