From: Anthony Geay Date: Fri, 18 Aug 2023 12:27:12 +0000 (+0200) Subject: [EDF27816] : Make KERNEL_Launcher and KERNEL_Launcher_SWIG run on native debian11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fd2a1d97adb1aa6964ea3ac66baea42933ec101a;p=modules%2Fkernel.git [EDF27816] : Make KERNEL_Launcher and KERNEL_Launcher_SWIG run on native debian11 --- diff --git a/src/Launcher/Launcher_Job_PythonSALOME.cxx b/src/Launcher/Launcher_Job_PythonSALOME.cxx index 46f602220..2b34e7d3e 100644 --- a/src/Launcher/Launcher_Job_PythonSALOME.cxx +++ b/src/Launcher/Launcher_Job_PythonSALOME.cxx @@ -43,7 +43,7 @@ Launcher::Job_PythonSALOME::addJobTypeSpecificScript(std::ofstream & launch_scri struct stat statbuf; if(stat(getenv("APPLI"), &statbuf) ==0 && S_ISREG(statbuf.st_mode)) // case where AppliPath hold a salome launcher file - launch_script_stream << _resource_definition.AppliPath << " shell -- python " << _job_file_name_complete << " > logs/python_" << _launch_date << ".log 2>&1" << std::endl; + launch_script_stream << _resource_definition.AppliPath << " shell -- python3 " << _job_file_name_complete << " > logs/python_" << _launch_date << ".log 2>&1" << std::endl; else - launch_script_stream << _resource_definition.AppliPath << "/salome shell -- python " << _job_file_name_complete << " > logs/python_" << _launch_date << ".log 2>&1" << std::endl; + launch_script_stream << _resource_definition.AppliPath << "/salome shell -- python3 " << _job_file_name_complete << " > logs/python_" << _launch_date << ".log 2>&1" << std::endl; }