proc

package
v0.11.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MustKillSignals = []syscall.Signal{syscall.SIGINT, syscall.SIGKILL}

Functions

func Exists

func Exists(pid int) bool

func Kill added in v0.11.21

func Kill(pid int, sig syscall.Signal) error

func KillGroup added in v0.11.11

func KillGroup(pid int, sig syscall.Signal) error

func MustKill added in v0.11.21

func MustKill(ctx context.Context, pid int, singleSigWaitExitSec int, sig ...syscall.Signal) error

func MustKillGroup added in v0.11.21

func MustKillGroup(ctx context.Context, pid int, singleSigWaitExitSec int, sig ...syscall.Signal) error

func WaitProcExit

func WaitProcExit(ctx context.Context, pid int, interval time.Duration, count int) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL