diff Core/Toolbox.cpp @ 2065:272094362301

nacl
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 05 Jul 2016 17:50:18 +0200
parents ed383e7a6753
children 27fd34970c52
line wrap: on
line diff
--- a/Core/Toolbox.cpp	Mon Jul 04 19:07:47 2016 +0200
+++ b/Core/Toolbox.cpp	Tue Jul 05 17:50:18 2016 +0200
@@ -1306,6 +1306,7 @@
 #endif
 
 
+#if !defined(ORTHANC_SANDBOXED) || ORTHANC_SANDBOXED != 1
   void Toolbox::ExecuteSystemCommand(const std::string& command,
                                      const std::vector<std::string>& arguments)
   {
@@ -1363,6 +1364,7 @@
       throw OrthancException(ErrorCode_SystemCommand);
     }
   }
+#endif
 
   
   bool Toolbox::IsInteger(const std::string& str)