()
| 69 | } |
| 70 | |
| 71 | func (p *processPipes) close() { |
| 72 | _ = p.stderr.Close() |
| 73 | _ = p.stdout.Close() |
| 74 | if p.fdOut != nil { |
| 75 | _ = p.fdOut.Close() |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | // Receive listens to the process retrieval channel |
| 80 | func (p *ProcessStream) Receive() <-chan *ProcessResponse { |