process

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildProcessEnv

func BuildProcessEnv(env map[string]string) []string

func BuildProcessEnvMap

func BuildProcessEnvMap(env map[string]string) map[string]string

func ContainsOpVisibleSentinel

func ContainsOpVisibleSentinel(value interface{}) bool

func ExecuteProcess

func ExecuteProcess(ctx context.Context, req RunRequest) ([]byte, []byte, error)

func WithToolPath added in v0.0.64

func WithToolPath(ctx context.Context, path string) context.Context

WithToolPath binds tools to one invocation, without mutating os.Environ.

Types

type RunRequest

type RunRequest struct {
	WorkspaceRoot string
	WorkingDir    string
	Shell         string
	Run           string
	Command       []string
	Env           map[string]string
	Stdin         []byte
}

Jump to

Keyboard shortcuts

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