Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rosbit/go-expect
A simple TCL-like expect implementation written in golang
https://github.com/rosbit/go-expect
expect golang
Last synced: about 6 hours ago
JSON representation
A simple TCL-like expect implementation written in golang
- Host: GitHub
- URL: https://github.com/rosbit/go-expect
- Owner: rosbit
- License: mit
- Created: 2022-08-05T01:21:54.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-13T01:18:19.000Z (over 2 years ago)
- Last Synced: 2023-07-27T22:35:28.851Z (over 1 year ago)
- Topics: expect, golang
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simple expect in golang
## Usage
1. Call expect.Popen/PopenPTY to execute command
See [sample](sample/main.go).
2. Call expect.Spawn/SpawnPTY to implement TCL-like `expect`
- [go-trealla](https://github.com/rosbit/go-trealla), interacts with trealla, a Prolog interpreter.
- [go-qjs](https://github.com/rosbit/go-qjs), interacts with QuickJS, a JavaScript engine.
- [go-deno](https://github.com/rosbit/go-deno), interacts with Deno, a JavaScript/TypeScript runtime engine.