Initial QSfera import

This commit is contained in:
Курнат Андрей
2026-06-07 10:20:04 +03:00
commit 2315f25754
16485 changed files with 4826827 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
//go:build !windows
package sysutil
import (
"syscall"
)
// Kill a process by pid
func Kill(pid int, signal syscall.Signal) error {
return syscall.Kill(pid, signal)
}
// ProcessExists check process exists by pid
func ProcessExists(pid int) bool {
return nil == syscall.Kill(pid, 0)
}