- -搞笑用的 哈哈
#! /usr/bin/python
import os,time,sys
def sortBySleep(s_time):
sleepTime = float(s_time)/5
time.sleep(sleepTime)
print s_time
for i in range(len(sys.argv)-1):
pid = os.fork()
if pid != 0:
sortBySleep(sys.argv[i+1])
os._exit(0)
阅读(1562) | 评论(0) | 转发(0) |