Versions in this module Expand all Collapse all v0 v0.0.52 Nov 18, 2026 Changes in this version + var ErrUnknownCommand = errors.New("memexecutor: no script for command") + func Dial(t testing.TB, e Executor) *grpc.ClientConn + type Executor struct + CommandOptions []commandserver.Option + Commands *Runner + FileOptions []fileserver.Option + Files *memfs.Workspace + type Runner struct + func NewRunner() *Runner + func (r *Runner) Refuse(command string, err error) + func (r *Runner) Running() int + func (r *Runner) Script(command string, s Script) + func (r *Runner) Start(ctx context.Context, command string, stdout io.Writer, stderr io.Writer) (commandserver.Process, error) + type Script func(ctx context.Context, stdout, stderr io.Writer) commandserver.Exit + func Block(ready string) Script + func Exit(stdout, stderr string, code int) Script + func OutcomeUnknown(s Script) Script + func Stream(next <-chan struct{}, chunks ...string) Script