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 so far to solve it.
Closed 11 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
标准中有
pty
包库,但它只实现了 Tcl 包功能的子集。特别是,它似乎缺乏同时等待多种模式或同时提供交互的能力。也许这对于你用它做什么并不重要;许多期望程序从未充分利用其功能。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.