]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix for "23677: [CEA 13186] cannot save study to h5 format" issue.
authorrnv <rnv@opencascade.com>
Wed, 30 Jan 2019 14:23:21 +0000 (17:23 +0300)
committervsr <vsr@opencascade.com>
Mon, 25 Feb 2019 12:27:04 +0000 (15:27 +0300)
src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx

index 56718e43f4d409ad1026d3cd69f10e724c4e39ce..57aab2da23ea5fbc0c7bd9a5e527968c8454c6ee 100644 (file)
@@ -773,7 +773,7 @@ bool SALOMEDSImpl_Study::Impl_SaveAs(const std::string& aStudyUrl,
   std::string aStudyTmpDir = SALOMEDSImpl_Tool::GetDirFromPath(aUrl);
 
 #ifdef WIN32
-  aCmd = "dir /B \"" + aStudyTmpDir +"\" > " + aTmpFile;
+  aCmd = "dir /B \"" + aStudyTmpDir +"\" > \"" + aTmpFile + "\"";
 #else
   aCmd ="ls -1 \"" + aStudyTmpDir +"\" > " + aTmpFile;
 #endif