From: vsr Date: Wed, 25 Nov 2020 15:26:29 +0000 (+0300) Subject: Fix misprint X-Git-Tag: V9_7_0a1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e6aa6e6ebe34752e2a61b51ab7d3a69492fcd986;p=modules%2Fkernel.git Fix misprint --- diff --git a/bin/killSalomeWithPort.py b/bin/killSalomeWithPort.py index d0af7b53e..26b959f30 100755 --- a/bin/killSalomeWithPort.py +++ b/bin/killSalomeWithPort.py @@ -419,10 +419,10 @@ def checkUnkilledProcess(): cmd = 'ps --noheading -U {user} -o pid,cmd | awk \'{{printf("%s %s\\n", $1, $2)}}\''.format(user=user) _getDictfromOutput(subprocess.getoutput(cmd).split(), processes, '^(SALOME_|omniNames)') # 2. ghs3d - cmd = 'ps -fea | grep \'{user}\' | grep \'ghs3d\' | grep \'f /tmp/GHS3D_\' | grep -v \'grep\' | awk \'{{print("%s %s\\n", $2, $8)}}\''.format(user=user) + cmd = 'ps -fea | grep \'{user}\' | grep \'ghs3d\' | grep \'f /tmp/GHS3D_\' | grep -v \'grep\' | awk \'{{printf("%s %s\\n", $2, $8)}}\''.format(user=user) _getDictfromOutput(subprocess.getoutput(cmd).split(), processes) # 3. ompi-server - cmd = 'ps -fea | grep \'{user}\' | grep \'ompi-server\' | grep -v \'grep\' | awk \'{{print("%s %s\\n", $2, $8)}}\''.format(user=user) + cmd = 'ps -fea | grep \'{user}\' | grep \'ompi-server\' | grep -v \'grep\' | awk \'{{printf("%s %s\\n", $2, $8)}}\''.format(user=user) _getDictfromOutput(subprocess.getoutput(cmd).split(), processes) else: cmd = 'tasklist /fo csv | findstr /i "SALOME_ omniNames"'