python read函数阻塞_python subprocess阻塞
import selectimport osimport subprocessimport timeimport fcntlargs = ['python','./fetch_file2.py',ip,path]proc = subprocess.Popen(args, stdout=subprocess.PIPE,stderr=subprocess.PIPE,close_fds=True)def...