Versions in this module Expand all Collapse all v0 v0.0.2 Jun 9, 2026 Changes in this version type Manager + func (m *Manager) SetLimits(maxProcs int, outputOptions cmdoutput.Options) v0.0.1 Jun 3, 2026 Changes in this version + type CommandStarted struct + Command string + ID string + SessionID string + StartedAt time.Time + type ExitEvent struct + Command string + ExitCode int + FormatOutput func() string + ID string + Reason ExitReason + SessionID string + TimeoutSec int + type ExitReason string + const ExitReasonCompleted + const ExitReasonError + const ExitReasonKilled + const ExitReasonTimeout + type Manager struct + func NewManager(maxProcs int, outputOptions cmdoutput.Options) *Manager + func NewManagerAtRoot(maxProcs int, outputOptions cmdoutput.Options, workspaceRoot string) *Manager + func (m *Manager) Kill(id string) error + func (m *Manager) KillAll() + func (m *Manager) List() string + func (m *Manager) Read(id string) (string, error) + func (m *Manager) Remove(id string) + func (m *Manager) SetExitHandler(handler func(ExitEvent)) + func (m *Manager) SetSessionProvider(provider func() string) + func (m *Manager) Start(command string, timeoutSec int) (string, error)