cmdutil

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(ctx context.Context, name string, args ...string) *exec.Cmd

NewCommand creates an exec.Cmd configured for instant process-group termination on context cancellation.

func SanitizeStderr added in v1.0.1

func SanitizeStderr(stderr string) string

SanitizeStderr delegates to godeps.SanitizeStderr to clean raw error outputs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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