Docs
This commit is contained in:
8
cmd/publish_linux.go
Normal file
8
cmd/publish_linux.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package cmd
|
||||
|
||||
import "syscall"
|
||||
|
||||
func processExists(pid int) bool {
|
||||
err := syscall.Kill(pid, syscall.Signal(0))
|
||||
return err == nil
|
||||
}
|
||||
Reference in New Issue
Block a user