Registry / testing / thomasrooney-gexpect

thomasrooney-gexpect

JSON →
library0.0.0-20161231170123-5482f0350944gogounverified

A Go library for spawning and interacting with child processes using expect-like functionality.

go get github.com/ThomasRooney/gexpect
INSTALL
IMPORT
SIG · THOMASROONEY-GEXPE
T
thomasrooney-gexpect
testinggov0.0.0-20161231170123-5482f0350944
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.

gexpect
github.com/ThomasRooney/gexpect

Spawns a child process and waits for expected output.

package main import ( "fmt" "github.com/ThomasRooney/gexpect" ) func main() { child, _ := gexpect.Spawn("echo hello") child.Expect("hello") fmt.Println("matched") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20161231170123-5482f0350944latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
thomasrooney-gexpect — go get thomasrooney-gexpect · libregistry