Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
Path string
Args []string
Dir string
Env []string
Stdin io.Reader
Stdout io.Writer
Stderr io.Writer
// ProcessGroup starts the child in a private process group so context
// cancellation can terminate descendants. Use it for headless commands.
// Do not use it for interactive TUIs attached to the user's terminal:
// moving the child out of the terminal foreground process group can stop
// or hang the TUI when it reads from stdin.
ProcessGroup bool
}
Click to show internal directories.
Click to hide internal directories.