Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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.