From: rnv Date: Wed, 30 Jan 2019 14:23:21 +0000 (+0300) Subject: Fix for "23677: [CEA 13186] cannot save study to h5 format" issue. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e36c62dfa3194e81494f8e66414a273d55f5ff5f;p=modules%2Fkernel.git Fix for "23677: [CEA 13186] cannot save study to h5 format" issue. --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx index 56718e43f..57aab2da2 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx @@ -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