Add files via upload

This commit is contained in:
公明 authored and GitHub committed 2026-06-18 12:40:54 +08:00
1 parent 56faefaaf9
commit d5a0f93c6c
94 files changed
+24645

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
//go:build windows
package security
import "os/exec"
func prepareShellCmdSession(cmd *exec.Cmd) error {
_ = cmd
return nil
}
func terminateCmdTree(cmd *exec.Cmd) {
if cmd == nil || cmd.Process == nil {
return
}
_ = cmd.Process.Kill()
}