Documentation
¶
Overview ¶
expect is a module port from https://github.com/hymkor/expect
Index ¶
- Constants
- func Echo(L any)
- func Kill(pid int) error
- func Send(str string, wait int)
- func Shot(n int) ([]string, error)
- func Sleep(value int)
- func Spawn(args ...string) (int, error)
- func SpawnContext(ctx context.Context, args ...string) (int, error)
- func USleep(value int)
- func Wait(pid int) error
- type Matching
Constants ¶
View Source
const ( ErrnoExpectGetRecentOutput = -1 ErrnoExpectTimeOut = -2 ErrnoExpectContextDone = -3 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.