pexpect .TIMEOUT: Timeout exceeded in read_nonblocking(). 解决办法

pexpect .TIMEOUT: Timeout exceeded in read_nonblocking(). 解决办法

Filed under: 东写西读 |  

修改site-packages/pxssh.py

在def synch_original_prompt (self):方法下第一个self.read_nonblocking(size=10000,timeout=1)前面增加两行代码

self.sendline()

time.sleep(0.5)


Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

If you want to leave a feedback to this post or to some other user´s comment, simply fill out the form below.

(required)

(required)