Salome HOME
Useless output redirection for command jobs [EDF 14663].
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 19 Jan 2018 10:06:11 +0000 (11:06 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 19 Jan 2018 10:06:11 +0000 (11:06 +0100)
src/Launcher/Launcher_Job_Command.cxx

index bdb0f2ec4e1303b156c0da7c7895b5443d6ef84d..9a4fdf0f84d5f0a5225fac7198f95ebbc46919fc 100644 (file)
@@ -72,7 +72,7 @@ Launcher::Job_Command::buildCommandScript(Batch::Parametre params, std::string l
     std::string::size_type last = _env_file.find_last_of("/");
     launch_script_stream << ". ./" << _env_file.substr(last+1) << std::endl;
   }
-  launch_script_stream << "./" << _job_file_name_complete << " > " << work_directory <<"/logs/command_" << launch_date << ".log 2>&1" << std::endl;
+  launch_script_stream << "./" << _job_file_name_complete << std::endl;
 
   // Return
   launch_script_stream.flush();