Signal sends a signal to the Process. Sending Interrupt on Windows is not implemented.
(sig Signal)
| 131 | // Signal sends a signal to the Process. |
| 132 | // Sending Interrupt on Windows is not implemented. |
| 133 | func (p *Process) Signal(sig Signal) error { |
| 134 | return p.signal(sig) |
| 135 | } |
| 136 | |
| 137 | // UserTime returns the user CPU time of the exited process and its children. |
| 138 | func (p *ProcessState) UserTime() time.Duration { |