exec

package
v0.54.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewCmd = uexec.NewCmd

NewCmd builds a new exec cmd with defaults.

Functions

func StartAndWait

func StartAndWait(ctx context.Context, le *logrus.Entry, ecmd *exec.Cmd) error

StartAndWait runs the given process and waits for ctx or process to complete. On process failure it returns an error carrying the full captured stderr, not just the trailing line: tool stack traces (Rolldown/Oxc, bun) put the real message at the top and a bare frame such as "at processTicksAndRejections" at the bottom, so the upstream last-line-only interpretation swallows the cause.

Types

This section is empty.

Jump to

Keyboard shortcuts

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