Documentation
¶
Overview ¶
Copyright (c) 2019 Stefaan Coussement MIT License
more info: https://github.com/elebertus/golang-exec
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner interface {
SetStdoutWriter(io.Writer)
SetStderrWriter(io.Writer)
StdoutPipe() (io.Reader, error) // use in combination with Start() & Wait(), don't use in combination with Run()
StderrPipe() (io.Reader, error) // use in combination with Start() & Wait(), don't use in combination with Run()
Run() error
Start() error
Wait() error
Close() error
ExitCode() int // -1 when runner error without completing script
}
Click to show internal directories.
Click to hide internal directories.