process

package
v1.28.2-0...-a3f5403 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProcAttrWithProcessGroup = &unix.SysProcAttr{Setpgid: true}

Functions

func KillProcess

func KillProcess(process *os.Process) error

kills the process with pid pid, as well as its children.

func TerminateProcess

func TerminateProcess(pid int, signal os.Signal) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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