process

package
v0.0.74 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 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.

func WithUnsetEnv added in v0.0.67

func WithUnsetEnv(ctx context.Context, names []string) context.Context

WithUnsetEnv suppresses omitted secret variables after inherited and explicit environment values have been merged, without changing the runner environment.

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