]> SALOME platform Git repositories - plugins/hexoticplugin.git/blobdiff - src/HexoticPlugin/HexoticPlugin_Hexotic.cxx
Salome HOME
Fix for issue 0022515: [CEA 1074] Hexotic does not work under Windows 7 64 bits
[plugins/hexoticplugin.git] / src / HexoticPlugin / HexoticPlugin_Hexotic.cxx
index 0e3b18492168bccfc2efc66d6f9ac78167781edb..77ea8488af46fa54f4acb5e13d6e6903066b76aa 100644 (file)
@@ -1503,8 +1503,7 @@ bool HexoticPlugin_Hexotic::Compute(SMESH_Mesh&          aMesh,
     if ( aTmpDir.Value(aTmpDir.Length()) != '/' ) aTmpDir += '/';
 #endif
     TCollection_AsciiString Hexotic_In(""), Hexotic_Out, Hexotic_SizeMap_Prefix;
-    TCollection_AsciiString modeFile_In( "chmod 666 " ), modeFile_Out( "chmod 666 " );
-    TCollection_AsciiString aLogFileName = aTmpDir + "Hexotic"+getSuffix()+".log";    // log
+    TCollection_AsciiString modeFile_In( "chmod 666 " ), modeFile_Out( "chmod 666 " );    TCollection_AsciiString aLogFileName = aTmpDir + "Hexotic"+getSuffix()+".log";    // log
 
     std::map <int,int> aSmdsToHexoticIdMap;
     std::map <int,const SMDS_MeshNode*> aHexoticIdToNodeMap;
@@ -1557,8 +1556,10 @@ bool HexoticPlugin_Hexotic::Compute(SMESH_Mesh&          aMesh,
     // --------------
 
     std::ifstream fileRes( Hexotic_Out.ToCString() );
+#ifndef WIN32  
     modeFile_Out += Hexotic_Out;
     system( modeFile_Out.ToCString() );
+#endif
     if ( ! fileRes.fail() ) {
       Ok = readResult( Hexotic_Out.ToCString(),
                        this,