1
0
mirror of https://github.com/golang/go synced 2024-11-19 21:04:43 -07:00

os: document that Interrupt might not work on every os

Fixes #6720.

LGTM=bradfitz
R=golang-codereviews, iant, bradfitz
CC=golang-codereviews
https://golang.org/cl/92340043
This commit is contained in:
Alex Brainman 2014-05-23 12:29:29 +10:00
parent 2c83f1eaf9
commit 05cc78d8d3

View File

@ -46,6 +46,7 @@ func (p *Process) Wait() (*ProcessState, error) {
} }
// Signal sends a signal to the Process. // Signal sends a signal to the Process.
// Sending Interrupt on Windows is not implemented.
func (p *Process) Signal(sig Signal) error { func (p *Process) Signal(sig Signal) error {
return p.signal(sig) return p.signal(sig)
} }