Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultProgressBar getter.ProgressTracker = &progressBar{}
DefaultProgressBar is the default instance of a cheggaaa progress bar.
Functions ¶
This section is empty.
Types ¶
type Subprocess ¶
type Subprocess struct { Status SubprocessStatus `json:"status"` WDir string `json:"-"` Program string `json:"-"` Args []string `json:"-"` Process *os.Process `json:"-"` StdinStream io.WriteCloser `json:"-"` StdoutCallback func(string) `json:"-"` StderrCallback func(string) `json:"-"` PreProcess func() `json:"-"` PostProcess func() `json:"-"` }
func (*Subprocess) Execute ¶
func (p *Subprocess) Execute()
func (*Subprocess) Kill ¶
func (p *Subprocess) Kill()
type SubprocessStatus ¶
type SubprocessStatus int
const ( SubprocessStatusNotStarted SubprocessStatus = iota SubprocessStatusRunning SubprocessStatusFinished )
Click to show internal directories.
Click to hide internal directories.