MCPcopy Create free account
hub / github.com/LanceLRQ/deer-executor / Wait

Method Wait

common/sandbox/cmd/exec.go:127–129  ·  view source on GitHub ↗

Wait waits for the Process to exit, and then returns a ProcessState describing its status and an error, if any. Wait releases any resources associated with the Process. On most operating systems, the Process must be a child of the current process or an error will be returned.

()

Source from the content-addressed store, hash-verified

125// On most operating systems, the Process must be a child
126// of the current process or an error will be returned.
127func (p *Process) Wait() (*ProcessState, error) {
128 return p.wait()
129}
130
131// Signal sends a signal to the Process.
132// Sending Interrupt on Windows is not implemented.

Callers 3

runAsyncFunction · 0.95
runInteractiveAsyncFunction · 0.80
RunUnixShellFunction · 0.80

Calls 1

waitMethod · 0.95

Tested by

no test coverage detected