Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3fa8fe
)
#16706 fix1. Add check unkill process and new add to KillList
author
vuzlov
<vuzlov@opencascade.com>
Thu, 17 Sep 2020 17:21:58 +0000
(20:21 +0300)
committer
vuzlov
<vuzlov@opencascade.com>
Thu, 17 Sep 2020 17:21:58 +0000
(20:21 +0300)
bin/killSalomeWithPort.py
patch
|
blob
|
history
diff --git
a/bin/killSalomeWithPort.py
b/bin/killSalomeWithPort.py
index b40bfbe6e5f648c13f734094e5fa3cfe581903eb..c28f64cf3df1397d2b737fd5e79a409245ba2553 100755
(executable)
--- 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)