From: Anthony Geay Date: Mon, 11 Mar 2024 15:46:09 +0000 (+0100) Subject: [EDF29576] : Fix on debian10 X-Git-Tag: emc2p_2.0.0-b1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=69d0c51111d3a95da8a0220de7491ddcf56c2889;hp=81d9fa9bc737c09132390cb7ebfe44adb43f0d93;p=modules%2Fkernel.git [EDF29576] : Fix on debian10 --- diff --git a/src/Basics/Monitoring.cxx b/src/Basics/Monitoring.cxx index 1c1109bb4..a04e2c564 100644 --- a/src/Basics/Monitoring.cxx +++ b/src/Basics/Monitoring.cxx @@ -113,7 +113,7 @@ std::vector SALOME::ReadFloatsInFile(const std::string& fileName) static void StopMonitoringLinux(long pid) { pid_t pid_of_subprocess = (pid_t) pid; - kill( pid_of_subprocess, SIGTERM ); + kill( pid_of_subprocess, SIGKILL ); } #endif diff --git a/src/Container/SALOME_Container.py b/src/Container/SALOME_Container.py index 66113499a..c9bc72d3a 100644 --- a/src/Container/SALOME_Container.py +++ b/src/Container/SALOME_Container.py @@ -188,7 +188,7 @@ class SALOME_Container_i: def killMe(self): import signal - os.kill( os.getpid() , signal.SIGTERM) + os.kill( os.getpid() , signal.SIGKILL) def setLogFileName(self, logFileName): logging.debug("setLogFileName {} PID = {}".format(logFileName,os.getpid()))