replay

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner represents a command runner

func New

func New(pid int, from []*runner.Command) *Runner

New creates a new runner

func (*Runner) Close

func (r *Runner) Close() error

func (*Runner) PID

func (r *Runner) PID() int

PID returns process id

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, command string, options ...runner.Option) (string, error)

Run runs supplied command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL