From 69d0c51111d3a95da8a0220de7491ddcf56c2889 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 11 Mar 2024 16:46:09 +0100 Subject: [PATCH] [EDF29576] : Fix on debian10 --- src/Basics/Monitoring.cxx | 2 +- src/Container/SALOME_Container.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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())) -- 2.39.2