[ 源代码: golang-github-thomasrooney-gexpect ]
软件包:golang-github-thomasrooney-gexpect-dev(0.0~git20161231.5482f03-4)
golang-github-thomasrooney-gexpect-dev 的相关链接
Debian 的资源:
下载源码包 golang-github-thomasrooney-gexpect:
- [golang-github-thomasrooney-gexpect_0.0~git20161231.5482f03-4.dsc]
- [golang-github-thomasrooney-gexpect_0.0~git20161231.5482f03.orig.tar.gz]
- [golang-github-thomasrooney-gexpect_0.0~git20161231.5482f03-4.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
pure golang expect library
Gexpect is a pure golang expect-like module. It provides the following functions for simpler creation and control of other terminal applications:
- ReadLine, ReadUntil and SendLine send strings from/to stdout/stdin - Wait and Close allow for graceful and ungraceful termination. - AsyncInteractChannels spawns two go routines to pipe into and from stdout/stdin, allowing for some usecases to be a little simpler. - ExpectRegex uses golang's internal regex engine to wait until a match from the process with the given regular expression (or an error on process termination with no match) - ExpectRegexFind allows for groups to be extracted from process stdout.