Skip to content

Commit 457d6e1

Browse files
committed
move killing the process to run_default.go for Windows
1 parent 4b78f93 commit 457d6e1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

cli/run_default.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
package cli
44

5-
import "syscall"
5+
import (
6+
"os"
7+
"syscall"
8+
)
69

710
func setSysProcAttr(attr *syscall.SysProcAttr) {}
11+
12+
func killProcess(process *os.Process, _ os.Signal) {
13+
process.Kill()
14+
}

cli/run_windows.go

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)