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

Method Done

internal/procutil/detached.go:64–70  ·  view source on GitHub ↗

Done closes after the detached child has been reaped.

()

Source from the content-addressed store, hash-verified

62
63// Done closes after the detached child has been reaped.
64func (p *DetachedProcess) Done() <-chan struct{} {
65 if p == nil || p.process == nil {
66 return closedDetachedProcessDone()
67 }
68 p.startWait()
69 return p.done
70}
71
72func newDetachedProcess(process *os.Process, logPath string, logOffset int64) *DetachedProcess {
73 return &DetachedProcess{

Callers

nothing calls this directly

Calls 2

startWaitMethod · 0.95

Tested by

no test coverage detected