MCPcopy Create free account
hub / github.com/cloudfoundry/garden / Wait

Method Wait

client/connection/process.go:31–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (p *process) Wait() (int, error) {
32 p.doneL.L.Lock()
33
34 for !p.done {
35 p.doneL.Wait()
36 }
37
38 defer p.doneL.L.Unlock()
39
40 return p.exitStatus, p.exitErr
41}
42
43func (p *process) SetTTY(tty garden.TTYSpec) error {
44 return p.processInputStream.SetTTY(tty)

Callers

nothing calls this directly

Calls 1

WaitMethod · 0.65

Tested by

no test coverage detected