From: rnv Date: Wed, 30 Jan 2019 16:50:05 +0000 (+0300) Subject: Fix for "23678: [CEA 13186] messages in the python window" issue. X-Git-Tag: V9_2_2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7cef49499886e7cdb58bc796a593896099b6b2d7;p=modules%2Fsmesh.git Fix for "23678: [CEA 13186] messages in the python window" issue. --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 86f9daa3b..e04476d35 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -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