Documentation
¶
Overview ¶
Package runner is the one place sitrep starts other programs (ps, tmux, cmux, claude), so tests can replace them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cmd ¶
type Cmd struct {
Name string
Args []string
Dir string // working directory; empty means the caller's
Env []string // the whole environment; nil means the caller's
Stdin io.Reader // nil means none
// NewGroup runs the program in its own process group and, when the context ends, kills the whole group: for a program that starts others.
NewGroup bool
}
Cmd is one program to run.
Click to show internal directories.
Click to hide internal directories.