processgroup

package
v0.0.0-...-63ae334 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(cmd *exec.Cmd)

Configure starts cmd as the leader of a new process group.

func ConfigureContextCancel

func ConfigureContextCancel(cmd *exec.Cmd, grace time.Duration)

ConfigureContextCancel makes exec.CommandContext terminate the whole process group.

func Kill

func Kill(cmd *exec.Cmd) error

Kill sends SIGKILL to cmd's process group.

func Terminate

func Terminate(cmd *exec.Cmd) error

Terminate sends SIGTERM to cmd's process group.

Types

This section is empty.

Jump to

Keyboard shortcuts

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