From 9d8e9f230d786ade96c001a6d3bdfc64a8678a6d Mon Sep 17 00:00:00 2001 From: vuzlov Date: Thu, 17 Sep 2020 20:21:58 +0300 Subject: [PATCH] #16706 fix1. Add check unkill process and new add to KillList --- bin/killSalomeWithPort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/killSalomeWithPort.py b/bin/killSalomeWithPort.py index b40bfbe6e..c28f64cf3 100755 --- a/bin/killSalomeWithPort.py +++ b/bin/killSalomeWithPort.py @@ -405,7 +405,7 @@ def checkUnkillProcess(): user = getUserName() if sys.platform != 'win32': import subprocess - cmd = "ps -fea | grep 'vsr' | grep -e 'SALOME_' -e 'omniNames' | awk '{print $2}'" % user + cmd = "ps -fea | grep '%s' | grep -e 'SALOME_' -e 'omniNames' | awk '{print $2}'" % user prc = subprocess.getoutput(cmd) if prc: print("Salome process aren't killed\nCheck this PID: ", prc) -- 2.39.2