Salome HOME
Fix for "23678: [CEA 13186] messages in the python window" issue.
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.cxx
index 86f9daa3b97ffef19a9319b68037433d0bd167f9..e04476d35f242b1538cc608fb3a07e5190db5253 100644 (file)
@@ -3982,6 +3982,9 @@ SALOMEDS::TMPFile* SMESH_Gen_i::Save( SALOMEDS::SComponent_ptr theComponent,
   cmd+="\" \"";
   cmd+=meshfile;
   cmd+="\"";
+#ifdef WIN32
+  cmd+=" 2>NUL";
+#endif
   system(cmd.ToCString());
 
   // MED writer to be used by storage process