|
|
|
@ -63,9 +63,9 @@ def gen_pid_ls(client):
|
|
|
|
|
try:
|
|
|
|
|
list_pid = client_list_pid(client)
|
|
|
|
|
if not list_pid:
|
|
|
|
|
return 0
|
|
|
|
|
return []
|
|
|
|
|
except:
|
|
|
|
|
return 0
|
|
|
|
|
return []
|
|
|
|
|
return list_pid
|
|
|
|
|
|
|
|
|
|
def pid_inf(ClientObj, client, sid, pids):
|
|
|
|
@ -111,6 +111,7 @@ def client_pid_info(ClientObj, client, pid):
|
|
|
|
|
pid_ls = gen_pid_ls(client)
|
|
|
|
|
if pid_ls:
|
|
|
|
|
pid_inf(ClientObj, client, sid, pid_ls)
|
|
|
|
|
return pid_ls
|
|
|
|
|
# except:
|
|
|
|
|
# show_msg("Error get process information")
|
|
|
|
|
# return 1
|
|
|
|
|