execx

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Harden

func Harden(cmd *exec.Cmd, waitDelay time.Duration)

Harden makes a command safe to kill: the cancel signal reaches the whole process group (a killed git or gh can leave helpers behind that inherit the output pipe and would otherwise survive), and WaitDelay force-closes the pipes so Wait can never block on a descriptor a surviving process still holds after the command itself is gone.

Types

This section is empty.

Jump to

Keyboard shortcuts

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