Salome HOME
Raise correct exception in Launcher when maximum_duration parameter does not contain ':'
[modules/kernel.git] / src / Launcher / Launcher_Job_YACSFile.cxx
index d4e085c1b707a418ff22d2ebcc6da50e63bd323b..c0efb9d2311721c0cc4c300d2ab47358ba439b4f 100644 (file)
@@ -40,7 +40,7 @@ Launcher::Job_YACSFile::setJobFile(const std::string & job_file)
 void
 Launcher::Job_YACSFile::addJobTypeSpecificScript(std::ofstream & launch_script_stream)
 {
-  launch_script_stream << _resource_definition.AppliPath << "/runSession -p $appli_port driver " << _job_file_name_complete;
+  launch_script_stream << _resource_definition.AppliPath << "/runSession -p $appli_port driver -k $appli_port " << _job_file_name_complete;
   if (_dumpState > 0)
     launch_script_stream << " --dump=" << _dumpState;
   launch_script_stream << " > logs/yacs_" << _launch_date << ".log 2>&1" << std::endl;