Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCommand ¶
FormatCommand formats a command amd arguments for human reading
Types ¶
type Process ¶
type Process struct {
Pid int
PTY bool
Timestamp bool
Script []string
Env []string
ExitStatus string
// This callback is called when the process offically starts
StartCallback func()
// For every line in the process output, this callback will be called
// with the contents of the line if its filter returns true.
LineCallback func(string)
LinePreProcessor func(string) string
LineCallbackFilter func(string) bool
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.