首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > perl python >

python 输出日记跑不动 死锁现象

2013-01-01 
python 输出日志跑不动 死锁现象sp subprocess.Popen(c_args, stderrsubprocess.PIPE)sp.wait()out s

python 输出日志跑不动 死锁现象

sp = subprocess.Popen(c_args, stderr=subprocess.PIPE)sp.wait()out = sp.stderr.readlines()self.sl.dowrite(threading.currentThread().getName() + "_" + table_name, ''.join(out))


sp = subprocess.Popen(c_args, stderr=subprocess.PIPE)out = sp.stderr.readlines()sp.wait()self.sl.dowrite(threading.currentThread().getName() + "_" + table_name, ''.join(out))


参考:
http://meisw.51099.com/show-348-1.html

热点排行