X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FLauncher%2FLauncher_Job_Command.cxx;h=b71d7373534db4fc3b575fbfd68c411c3c06476b;hb=e5d5042cbf33962846b30506cb452b4cfb4aa892;hp=e4f18f96e9d53ea846e44ba536e98f01a4b624f5;hpb=b4f7f7b5ca2813062b2328697572c09546eeb40f;p=modules%2Fkernel.git diff --git a/src/Launcher/Launcher_Job_Command.cxx b/src/Launcher/Launcher_Job_Command.cxx index e4f18f96e..b71d73735 100644 --- a/src/Launcher/Launcher_Job_Command.cxx +++ b/src/Launcher/Launcher_Job_Command.cxx @@ -79,7 +79,7 @@ Launcher::Job_Command::buildCommandScript(Batch::Parametre params, std::string l launch_script_stream << "#!/bin/sh -f" << std::endl; launch_script_stream << "cd " << work_directory << std::endl; // remove the exit code from any previous execution - launch_script_stream << "rm -f logs/end_code.log" << std::endl; + launch_script_stream << "rm -f logs/exit_code.log" << std::endl; launch_script_stream << "export PYTHONPATH=" << work_directory << ":$PYTHONPATH" << std::endl; launch_script_stream << "export PATH=" << work_directory << ":$PATH" << std::endl; if (_env_file != "") @@ -101,7 +101,7 @@ Launcher::Job_Command::buildCommandScript(Batch::Parametre params, std::string l launch_script_stream << runCommandString() << std::endl; #ifndef WIN32 // log the exit code - launch_script_stream << "echo $? > logs/end_code.log" << std::endl; + launch_script_stream << "echo $? > logs/exit_code.log" << std::endl; #endif // Return