libexec

package module
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 11 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(ctx context.Context, cmds ...*exec.Cmd) error

Exec executes commands sequentially and terminates the running one gracefully if context is cancelled

func Kill added in v0.3.0

func Kill(ctx context.Context, pids []int) error

Kill tries to terminate processes gracefully, after timeout it kills them

Types

This section is empty.

Jump to

Keyboard shortcuts

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