]> 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)
committerrnv <rnv@opencascade.com>
Wed, 30 Jan 2019 14:23:21 +0000 (17:23 +0300)
src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx

index c8d893cf7897bd710e73a48db5bca0070e524c65..973f7ce6b740b41ad766bb05cc7870a6ccc57ed7 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