()
| 170 | } |
| 171 | |
| 172 | func (sw SessionWrap) ExitCode() int { |
| 173 | waitErr := sw.WaitErr |
| 174 | if waitErr == nil { |
| 175 | return -1 |
| 176 | } |
| 177 | return ExitCodeFromWaitErr(waitErr) |
| 178 | } |
| 179 | |
| 180 | func (sw SessionWrap) ExitSignal() string { |
| 181 | if sw.WaitErr == nil { |
nothing calls this directly
no test coverage detected