package
1.6.3
Repository: https://github.com/form3tech-oss/cilium.git
Documentation: pkg.go.dev

# Functions

CommandContext wraps exec.CommandContext to allow this package to be used as a drop-in replacement for the standard exec library.
WithCancel creates a Cmd with a context that can be cancelled by calling the resulting Cancel() function.
WithTimeout creates a Cmd with a context that times out after the specified duration.

# Structs

Cmd wraps exec.Cmd with a context to provide convenient execution of a command with nice checking of the context timeout in the form: err := exec.Prog().WithTimeout(5*time.Second, myprog, myargs...).CombinedOutput(log, verbose).