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:
parent
2c83f1eaf9
commit
05cc78d8d3
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user