Versions in this module Expand all Collapse all v0 v0.0.52 Nov 18, 2026 Changes in this version + type Exit struct + Code int + Confirmed bool + type Option func(*Server) error + func WithMaxCommandBytes(n int) Option + func WithMaxOutputBytes(n int) Option + func WithMaxTimeout(d time.Duration) Option + type Process interface + Wait func() Exit + type Runner interface + Start func(ctx context.Context, command string, stdout, stderr io.Writer) (Process, error) + type Server struct + func New(runner Runner, opts ...Option) (*Server, error) + func (s *Server) RunCommand(...) error