]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix for Windows: suppress confirmation before deleting files during the closure procedure
authorana <ana@opencascade.com>
Tue, 28 Apr 2015 08:51:39 +0000 (11:51 +0300)
committerana <ana@opencascade.com>
Tue, 28 Apr 2015 08:51:39 +0000 (11:51 +0300)
src/Container/Container_i.cxx

index 7b733fe7baeafa5a391e706ffc5e50f0dd73bdfb..b1db972620f75a605d0d20f8a02894340800832e 100644 (file)
@@ -1822,7 +1822,7 @@ void Engines_Container_i::clearTemporaryFiles()
   std::list<std::string>::const_iterator it;
   for ( it = _tmp_files.begin(); it != _tmp_files.end(); ++it ) {
 #ifdef WIN32
-    std::string command = "del /F ";
+    std::string command = "del /F /P";
 #else
     std::string command = "rm -rf ";
 #endif