Versions in this module Expand all Collapse all v1 v1.1.0 Feb 10, 2026 Changes in this version + func CompileC(workDir, source, output string, flags ...string) error + type CompileError struct + Err error + Output string + Source string + func (e *CompileError) Error() string + type ExitCodeMismatch struct + Actual int + Expected int + Stderr string + Stdout string + func (e *ExitCodeMismatch) Error() string + type Mismatch struct + Actual string + Expected string + Help string + Message string + func (m *Mismatch) Error() string + type RejectError struct + Message string + func (e *RejectError) Error() string + type Runner struct + func Run(workDir string, command string, args ...string) *Runner + func (r *Runner) Error() error + func (r *Runner) Execute() *Runner + func (r *Runner) Exit(code int) *Runner + func (r *Runner) GetStdout() string + func (r *Runner) Kill() *Runner + func (r *Runner) Reject(rejectTimeout ...time.Duration) *Runner + func (r *Runner) Result() *executable.ExecutableResult + func (r *Runner) SendLine(input string) *Runner + func (r *Runner) Start() *Runner + func (r *Runner) Stdin(input string) *Runner + func (r *Runner) Stdout(expected string) *Runner + func (r *Runner) StdoutExact(expected string) *Runner + func (r *Runner) StdoutRegex(pattern string) *Runner + func (r *Runner) WaitForExit() *Runner + func (r *Runner) WithEnv(env ...string) *Runner + func (r *Runner) WithLogger(l *logger.Logger) *Runner + func (r *Runner) WithPty() *Runner + func (r *Runner) WithTimeout(t time.Duration) *Runner