]> SALOME platform Git repositories - plugins/hexoticplugin.git/commitdiff
Salome HOME
22304: EDF HEXOTICPLUGIN: Problem on windows, trying to execute"chmod" BR_new_bop4
authoreap <eap@opencascade.com>
Wed, 28 Aug 2013 14:07:28 +0000 (14:07 +0000)
committereap <eap@opencascade.com>
Wed, 28 Aug 2013 14:07:28 +0000 (14:07 +0000)
src/HexoticPlugin/HexoticPlugin_Hexotic.cxx

index 90e8de932d9ee6f9de46b5c7b6a43e6a73bd39e9..c3c54a39ce4b4cf4f0483ac1c925b1468aee80ab 100644 (file)
@@ -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();