MCPcopy Create free account
hub / github.com/compozy/agh / Wait

Method Wait

internal/procutil/detached.go:54–61  ·  view source on GitHub ↗

Wait blocks until the detached process exits and attaches recent log output to failures.

()

Source from the content-addressed store, hash-verified

52
53// Wait blocks until the detached process exits and attaches recent log output to failures.
54func (p *DetachedProcess) Wait() error {
55 if p == nil || p.process == nil {
56 return nil
57 }
58 p.startWait()
59 <-p.done
60 return p.waitErr
61}
62
63// Done closes after the detached child has been reaped.
64func (p *DetachedProcess) Done() <-chan struct{} {

Callers

nothing calls this directly

Calls 1

startWaitMethod · 0.95

Tested by

no test coverage detected