Skip to content

Commit

Permalink
kill binaries before build
Browse files Browse the repository at this point in the history
  • Loading branch information
skiffer-git committed May 7, 2024
1 parent 86f0883 commit 86c065f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mageutil/sys.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,9 @@ func BatchKillExistBinaries(binaryPaths []string) {
continue // Skip processes where the executable path cannot be determined
}
exePathMap[exePath] = append(exePathMap[exePath], p)
fmt.Println("exePath im map ", exePath)
}

for _, binaryPath := range binaryPaths {
fmt.Println("binaryPath ", binaryPath)

if procs, found := exePathMap[binaryPath]; found {
fmt.Println("binaryPath found ", binaryPath)
for _, p := range procs {
Expand Down

0 comments on commit 86c065f

Please sign in to comment.