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