exec

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecCommand

func ExecCommand(c string, args ...[]string) *exec.Cmd

func MergeOSEnvWithAdder added in v0.1.5

func MergeOSEnvWithAdder(adder interfaces.EnvVarsAdder) []string

MergeOSEnvWithAdder builds an env slice suitable for *exec.Cmd.Env by starting from os.Environ() and appending entries contributed by adder. A nil adder yields os.Environ() unchanged.

Types

This section is empty.

Source Files

  • main.go

Jump to

Keyboard shortcuts

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