summaryrefslogtreecommitdiff
path: root/go/src/lib/pipeline/cmd.go
blob: 563becf5012c19d28e080b04ebc223aa7effad88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package pipeline

import (
	"io"
)

type Cmd interface {
	CombinedOutput() ([]byte, error)
	Output() ([]byte, error)
	Run() error
	Start() error
	StderrPipe() (io.ReadCloser, error)
	StdinPipe() (io.WriteCloser, error)
	StdoutPipe() (io.ReadCloser, error)
	Wait() error
}