mirror of
https://gogs.blitter.com/RLabs/xs
synced 2026-06-22 20:40:23 +00:00
13 lines
185 B
Go
Executable file
13 lines
185 B
Go
Executable file
//go:build windows
|
|
// +build windows
|
|
|
|
package xsnet
|
|
|
|
import (
|
|
"os/exec"
|
|
"strconv"
|
|
)
|
|
|
|
func (hc *Conn) kill() {
|
|
exec.Command("taskkill", "/f", "/pid", strconv.Itoa(hc.Pproc)).Run()
|
|
}
|