procutil

package
v0.85.0-pre.7 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForceKill

func ForceKill(pid int)

ForceKill immediately terminates the process and its children.

func IsAlive

func IsAlive(pid int) bool

IsAlive reports whether the process with the given PID exists and is running.

func RequestStop

func RequestStop(pid int)

RequestStop sends a graceful shutdown signal to the process and its children. The process may ignore the signal.

func SysProcAttr

func SysProcAttr() *syscall.SysProcAttr

SysProcAttr returns platform-specific process attributes that place the new process in its own process group, enabling group-level signal delivery via RequestStop and ForceKill.

Types

This section is empty.

Jump to

Keyboard shortcuts

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