commandexec

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package commandexec owns the ordinary descendants of one-shot commands. Persistent application adapters deliberately do not use this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, command *exec.Cmd) (int, error)

Run returns the requested program's exit code, not the helper's. The helper keeps its process identity reserved until the parent terminates its group/job and calls Wait. A status-read failure never authorizes another execution.

Types

This section is empty.

Jump to

Keyboard shortcuts

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