Registry / testing / google-goexpect

google-goexpect

JSON →
library0.0.0-20210430020637-ab937bf7fd6fgogounverified

Package expect is a Go version of the classic TCL Expect.

go get github.com/google/goexpect
INSTALL
IMPORT
SIG · GOOGLE-GOEXPECT
G
google-goexpect
testinggov0.0.0-20210430020637-ab937bf7fd6f
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

expect
github.com/google/goexpect

Spawn a process and interact with it

package main import ( "fmt" "github.com/google/goexpect" ) func main() { e, _, err := expect.Spawn("echo", "hello") if err != nil { panic(err) } defer e.Close() fmt.Println("Spawned process") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20210430020637-ab937bf7fd6flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
google-goexpect — go get google-goexpect · libregistry