摘要: import select import os import subprocess import time import fcntl args = ['python','./fetch_file2.py',ip,path] proc = subprocess.Popen(args, stdout=subprocess.PIPE,stderr=subprocess.PIPE,close_fds=... 阅读全文
posted @ 2016-08-28 13:11 妞溜溜 阅读(3534) 评论(0) 推荐(0)
摘要: 参考:http://blog.csdn.net/nodeathphoenix/article/details/23284157 http://blog.csdn.net/linyt/article/details/2983960 管道死锁 一,管道读写规则 当没有数据可读时 O_NONBLOCK d 阅读全文
posted @ 2016-08-28 11:23 妞溜溜 阅读(82) 评论(0) 推荐(0)