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 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.
Click to show internal directories.
Click to hide internal directories.