Salome HOME
Fix to allow Cleaner and SurfOpt to deal with directory with spaces
[modules/smesh.git] / src / Tools / YamsPlug / monYamsPlugDialog.py
index 54298c2ff12caeb4ca6f2f92a7e460e844c683fb..a09ecbb8d9204af981fbc4313fac55168867938c 100644 (file)
@@ -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