From: eap Date: Wed, 28 Aug 2013 14:07:28 +0000 (+0000) Subject: 22304: EDF HEXOTICPLUGIN: Problem on windows, trying to execute"chmod" X-Git-Tag: V7_3_0a1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=24f689153f251dc1f84cb35d4f708e2a0ccd8d4d;p=plugins%2Fhexoticplugin.git 22304: EDF HEXOTICPLUGIN: Problem on windows, trying to execute"chmod" --- diff --git a/src/HexoticPlugin/HexoticPlugin_Hexotic.cxx b/src/HexoticPlugin/HexoticPlugin_Hexotic.cxx index 90e8de9..c3c54a3 100644 --- a/src/HexoticPlugin/HexoticPlugin_Hexotic.cxx +++ b/src/HexoticPlugin/HexoticPlugin_Hexotic.cxx @@ -1507,8 +1507,10 @@ bool HexoticPlugin_Hexotic::Compute(SMESH_Mesh& aMesh, cout << std::endl; cout << "Hexotic command : " << run_Hexotic << std::endl; +#ifndef WIN32 modeFile_In += Hexotic_In; system( modeFile_In.ToCString() ); +#endif aSmdsToHexoticIdMap.clear(); aHexoticIdToNodeMap.clear(); @@ -1648,8 +1650,10 @@ bool HexoticPlugin_Hexotic::Compute(SMESH_Mesh & aMesh, SMESH_MesherHelper* aHel cout << std::endl; cout << "Creating Hexotic input mesh file : " << Hexotic_In << std::endl; aMesh.ExportGMF(Hexotic_In.ToCString(), aHelper->GetMeshDS()); +#ifndef WIN32 modeFile_In += Hexotic_In; system( modeFile_In.ToCString() ); +#endif aSmdsToHexoticIdMap.clear(); aHexoticIdToNodeMap.clear();