12 lines
194 B
Go
12 lines
194 B
Go
package command
|
|
|
|
import "io"
|
|
|
|
type execCmd interface {
|
|
CombinedOutput() ([]byte, error)
|
|
StdoutPipe() (io.ReadCloser, error)
|
|
StderrPipe() (io.ReadCloser, error)
|
|
Start() error
|
|
Wait() error
|
|
}
|