procutil

package module
v0.0.0-...-ca4da80 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: Unlicense Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const DefaultTerminateDuaration = time.Second * 2

DefaultTerminateDuaration is timout duration before sending SIGKILL.

Variables

This section is empty.

Functions

func Terminate

func Terminate(proc *os.Process, timeout ...time.Duration) error

Terminate stops process with SIGTERM or with SIGKILL while timeout exceeded.

Types

This section is empty.

Jump to

Keyboard shortcuts

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