From: Ovidiu Mircescu Date: Fri, 19 Jan 2018 10:06:11 +0000 (+0100) Subject: Useless output redirection for command jobs [EDF 14663]. X-Git-Tag: V8_5_0a1~7^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=76409d4542bef2a4388ab83cc251b8c521eff47b;p=modules%2Fkernel.git Useless output redirection for command jobs [EDF 14663]. --- diff --git a/src/Launcher/Launcher_Job_Command.cxx b/src/Launcher/Launcher_Job_Command.cxx index bdb0f2ec4..9a4fdf0f8 100644 --- a/src/Launcher/Launcher_Job_Command.cxx +++ b/src/Launcher/Launcher_Job_Command.cxx @@ -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();