Add pid and stdio to process state

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-02-03 14:30:45 -08:00
parent 36eb83cb99
commit 01176f2d7f
8 changed files with 163 additions and 111 deletions

View file

@ -17,16 +17,20 @@ func (p *testProcess) ID() string {
return p.id
}
func (p *testProcess) Stdin() string {
return ""
func (p *testProcess) CloseStdin() error {
return nil
}
func (p *testProcess) Stdout() string {
return ""
func (p *testProcess) Resize(w, h int) error {
return nil
}
func (p *testProcess) Stderr() string {
return ""
func (p *testProcess) Stdio() runtime.Stdio {
return runtime.Stdio{}
}
func (p *testProcess) SystemPid() int {
return -1
}
func (p *testProcess) ExitFD() int {