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.
()
| 125 | // On most operating systems, the Process must be a child |
| 126 | // of the current process or an error will be returned. |
| 127 | func (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. |
no test coverage detected