command

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Overview

Package command contains the host command execution mechanism. Harness tool registration and permission policy remain in the root package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, dir, command string) (string, error)

Run executes command in the projected VFS directory and returns a bounded, structured stdout/stderr result. Non-zero process exits are successful outcomes; startup and context failures are errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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