Files
forego/windows.go
2014-05-22 07:56:00 +01:00

27 lines
445 B
Go

// +build windows
package main
import (
"syscall"
)
const osHaveSigTerm = false
func ShellInvocationCommand(interactive bool, root, command string) []string {
return []string{"cmd", "/C", command}
}
func (p *Process) PlatformSpecificInit() {
// NOP on windows for now.
return
}
func (p *Process) SendSigTerm() {
panic("SendSigTerm() not implemented on this platform")
}
func (p *Process) SendSigKill() {
p.Signal(syscall.SIGKILL)
}