From 24f689153f251dc1f84cb35d4f708e2a0ccd8d4d Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 28 Aug 2013 14:07:28 +0000 Subject: [PATCH] 22304: EDF HEXOTICPLUGIN: Problem on windows, trying to execute"chmod" --- src/HexoticPlugin/HexoticPlugin_Hexotic.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- 2.39.2