|
@@ -32,7 +32,10 @@ def kill():
|
|
if re.search(project_path, process_cmd):
|
|
if re.search(project_path, process_cmd):
|
|
comm = "kill -9 " + str(pid)
|
|
comm = "kill -9 " + str(pid)
|
|
print(comm, process_cmd)
|
|
print(comm, process_cmd)
|
|
- os.system(comm)
|
|
|
|
|
|
+ try:
|
|
|
|
+ os.system(comm)
|
|
|
|
+ except:
|
|
|
|
+ continue
|
|
else:
|
|
else:
|
|
print("cannot kill! checkout config...")
|
|
print("cannot kill! checkout config...")
|
|
print(ip_port_dict)
|
|
print(ip_port_dict)
|