diff --git a/integration/main_test.go b/integration/main_test.go index c29abad89..28b9fe68b 100644 --- a/integration/main_test.go +++ b/integration/main_test.go @@ -364,7 +364,7 @@ func Randomize(str string) string { func KillProcess(name string) error { var command []string if goruntime.GOOS == "windows" { - command = []string{"tskill", strings.TrimSuffix(name, ".exe")} + command = []string{"taskkill", "/IM", name, "/F"} } else { command = []string{"pkill", "-x", fmt.Sprintf("^%s$", name)} }