[ 原始碼: 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.