Expect 5.43 的 script 结束时总是很慢, 用 expect -d 发现最后有条 message:
write() failed to write anything - will sleep(1) and retry...查了下 code, 在 exp_chan.c : ExpOutputProc() 中有个 sleep(1), 把它换成 usleep(10 * 1000) 就好了.
Sometimes I wonder about my life. I lead a small life. Well, valuable but small. And sometimes I wonder, do I do it because I like it, or because I haven't been brave? So much of what I see reminds me of something I read in a book, when shouldn't it be the other way around? I don't really want an answer. I just want to send this cosmic question out into the void. So good night, dear void.
Expect 5.43 的 script 结束时总是很慢, 用 expect -d 发现最后有条 message:
write() failed to write anything - will sleep(1) and retry...查了下 code, 在 exp_chan.c : ExpOutputProc() 中有个 sleep(1), 把它换成 usleep(10 * 1000) 就好了.
Posted by
Display Name
-
6:14 PM
Labels: Tcl/Expect
No comments:
Post a Comment