aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec_posix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/exec_posix.go')
-rw-r--r--src/os/exec_posix.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/exec_posix.go b/src/os/exec_posix.go
index 3dc18a84bd..e1e7d53a27 100644
--- a/src/os/exec_posix.go
+++ b/src/os/exec_posix.go
@@ -15,7 +15,9 @@ import (
// The only signal values guaranteed to be present in the os package on all
// systems are os.Interrupt (send the process an interrupt) and os.Kill (force
-// the process to exit).
+// the process to exit). On Windows, sending os.Interrupt to a process with
+// os.Process.Signal is not implemented; it will return an error instead of
+// sending a signal.
var (
Interrupt Signal = syscall.SIGINT
Kill Signal = syscall.SIGKILL