()
| 68 | } |
| 69 | |
| 70 | func (p *process) StartObserving() { |
| 71 | if !p.Running() { |
| 72 | p.waitPid() |
| 73 | |
| 74 | p.output.WriteBoldLinef(p, "Started with pid %v...", p.pid) |
| 75 | |
| 76 | go p.scanOuput() |
| 77 | go p.observe() |
| 78 | } |
| 79 | |
| 80 | p.Wait() |
| 81 | } |
| 82 | |
| 83 | func (p *process) Wait() { |
| 84 | ticker := time.NewTicker(runningCheckInterval) |
no test coverage detected