开发者

Ruby version of the TCL-based Expect? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done s开发者_开发技巧o far to solve it.

Closed 9 years ago.

Improve this question

Expect seems to be a very powerful automation tool: http://www.nist.gov/mel/msid/expect.cfm

Is there a Ruby equivalent to that tool?


There's the pty package in the standard library, but that only implements a subset of the functionality of the Tcl package. In particular, it appears to lack the ability to wait for many patterns at once, or to provide interaction at the same time. Maybe this won't matter for what you're doing with it; a great many expect programs never make use of its full power.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜