Revert "feat(tools): add exec tool enhancement with background execution and …"

This reverts commit f901af8cbc.
This commit is contained in:
daming大铭 authored and GitHub committed 2026-03-22 00:39:47 +08:00
1 parent f901af8cbc
commit ebcd5645f1
11 files changed
+31 -2082

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
//go:build !windows
package tools
import (
"syscall"
)
func killProcessGroup(pid int) error {
if err := syscall.Kill(-pid, syscall.SIGKILL); err != nil {
_ = syscall.Kill(pid, syscall.SIGKILL)
}
return nil
}