p1
=
MyProcess(host_dict[host][
0
],host_dict[host][
1
],host_dict[host][
2
],host_dict[host][
3
],cmd,localpath,remotepath)
p1.daemon
=
True
p1.start()
p_l.append(p1)
for
i
in
p_l:
i.join()
print
(
"所有进程执行结束"
)
|
本文转自小白的希望 51CTO博客,原文链接:http://blog.51cto.com/haoyonghui/1943188
,如需转载请自行联系原作者