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-Tag: emc2p_1.4.0-rc1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f58a60d53d226b40d8944dbdfb55fd776fb5b08e;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 c9eeab7aa..4e1549684 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; }