GetError gets the error on the response
()
| 105 | |
| 106 | // GetError gets the error on the response |
| 107 | func (resp *ProcessResponse) GetError() errors.Error { |
| 108 | return resp.err |
| 109 | } |
| 110 | |
| 111 | // RunProcess runs the cmd and blocks until its completion. All returned results will have type []byte. |
| 112 | func RunProcess(cmd *exec.Cmd, opts *RunProcessOptions) (*ProcessResponse, errors.Error) { |