fleet/cmd/fleetctl/kill_process.go
Tomas Touceda b11c6ffe31
Download and launch orbit for the current device when starting preview (#2437)
* Download and launch orbit for the current device when starting preview

* Add windows kill

* Fix imports

* Fix import

* Disable secure directory checks on windows for now

* Add missing import
2021-10-15 18:23:06 -03:00

11 lines
147 B
Go

//go:build !windows
// +build !windows
package main
import "syscall"
func killPID(pid int) error {
return syscall.Kill(pid, syscall.SIGKILL)
}