From bf5b17018697d54ce132019e34782a007c0cea5a Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 30 Jan 2019 19:50:05 +0300 Subject: [PATCH] Fix for "23678: [CEA 13186] messages in the python window" issue. --- src/SMESH_I/SMESH_Gen_i.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 2e902f532..211e608b8 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -3995,6 +3995,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 -- 2.39.2