diff --git a/src/Tools/MGCleanerPlug/MGCleanerMonPlugDialog.py b/src/Tools/MGCleanerPlug/MGCleanerMonPlugDialog.py index 0818f537c..c56cb30f0 100644 --- a/src/Tools/MGCleanerPlug/MGCleanerMonPlugDialog.py +++ b/src/Tools/MGCleanerPlug/MGCleanerMonPlugDialog.py @@ -553,11 +553,10 @@ class MGCleanerMonPlugDialog(Ui_MGCleanerPlugDialog,QWidget): self.commande="mg-cleaner.exe" verbosity=str(self.SP_Verbosity.value()) self.commande+=" --verbose " + verbosity - self.commande+=" --in " + self.fichierIn - #print "self.fichierIn",self.fichierIn,type(self.fichierIn) + self.commande+=' --in "' + self.fichierIn+'"' deb=os.path.splitext(str(self.fichierIn)) self.fichierOut=deb[0] + "_fix.mesh" - self.commande+=" --out "+self.fichierOut + self.commande+=' --out "'+self.fichierOut+'"' if self.RB_Fix1.isChecked(): self.commande+=" --mode fix" else: diff --git a/src/Tools/YamsPlug/monYamsPlugDialog.py b/src/Tools/YamsPlug/monYamsPlugDialog.py index 54298c2ff..a09ecbb8d 100644 --- a/src/Tools/YamsPlug/monYamsPlugDialog.py +++ b/src/Tools/YamsPlug/monYamsPlugDialog.py @@ -541,8 +541,8 @@ class MonYamsPlugDialog(Ui_YamsPlugDialog,QWidget): if self.SP_Memory.value() != 0 : self.commande+=" --max_memory %d" %self.SP_Memory.value() if self.SP_Verbosity.value() != 3 : self.commande+=" --verbose %d" %self.SP_Verbosity.value() - self.commande+=" --in " + self.fichierIn - self.commande+=" --out " + self.fichierOut + self.commande+=' --in "' + self.fichierIn +'"' + self.commande+=' --out "' + self.fichierOut +'"' print(self.commande) return True