()
| 132 | } |
| 133 | |
| 134 | func (c *Control) isInterrupted() bool { |
| 135 | c.intLock.RLock() |
| 136 | i := c.interrupted |
| 137 | c.intLock.RUnlock() |
| 138 | return i |
| 139 | } |
| 140 | |
| 141 | // FinishRunning returns cmd.Wait() and/or times out. |
| 142 | func (c *Control) FinishRunning(cmd *exec.Cmd) error { |
no outgoing calls
no test coverage detected