Kill causes the Process to exit immediately. Kill does not wait until the Process has actually exited. This only kills the Process itself, not any other processes it may have started.
()
| 116 | // the Process has actually exited. This only kills the Process itself, |
| 117 | // not any other processes it may have started. |
| 118 | func (p *Process) Kill() error { |
| 119 | return p.kill() |
| 120 | } |
| 121 | |
| 122 | // Wait waits for the Process to exit, and then returns a |
| 123 | // ProcessState describing its status and an error, if any. |
no test coverage detected