From 726d4794a42274c84d09348378694a83e7693524 Mon Sep 17 00:00:00 2001
From: Rashad Kanavath <rashad.kanavath@c-s.fr>
Date: Wed, 5 Aug 2015 16:08:35 +0200
Subject: [PATCH] jira #855

---
 .../CommandLine/src/otbWrapperCommandLineLauncher.cxx         | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx
index 9dae6317d6..63fa1011c7 100644
--- a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx
+++ b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx
@@ -478,7 +478,8 @@ CommandLineLauncher::ParamResultType CommandLineLauncher::LoadParameters()
                         // Handle space in filename. Only for input
                         // files or directories
                         if (type == ParameterType_Directory         || type == ParameterType_InputFilename ||
-                            type == ParameterType_ComplexInputImage || type == ParameterType_InputImage ||
+                            type == ParameterType_ComplexInputImage || type == ParameterType_ComplexOutputImage ||
+                            type == ParameterType_InputImage ||
                             type == ParameterType_InputVectorData   || type == ParameterType_OutputVectorData )
                           {
                           for(unsigned int j=1; j<values.size(); j++)
@@ -499,6 +500,7 @@ CommandLineLauncher::ParamResultType CommandLineLauncher::LoadParameters()
             type == ParameterType_Radius || type == ParameterType_Directory || type == ParameterType_InputFilename ||
             type == ParameterType_InputFilenameList || type == ParameterType_OutputFilename ||
             type == ParameterType_ComplexInputImage || type == ParameterType_InputImage ||
+            type == ParameterType_ComplexOutputImage ||
             type == ParameterType_InputVectorData || type == ParameterType_InputVectorDataList ||
             type == ParameterType_OutputVectorData || type == ParameterType_RAM ||
             type == ParameterType_OutputProcessXML) // || type == ParameterType_InputProcessXML)
-- 
GitLab