1
This commit is contained in:
parent
5f8254dfef
commit
6b9a0b7efa
@ -33,7 +33,7 @@ def stop(instance_id, jar_name):
|
||||
for pid in pids:
|
||||
exepath = getExePath(pid)
|
||||
cmdline = getExeCmdLine(pid)
|
||||
if cmdline.find('-Dinstance_id="%s"' % instance_id) != -1:
|
||||
if cmdline.find('-Dinstance_id=%d ' % instance_id) != -1:
|
||||
os.popen('kill -9 %d' % int(pid))
|
||||
|
||||
def listServer(jar_name):
|
||||
|
Loading…
x
Reference in New Issue
Block a user