execx

package
v2.35.0-RC8 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: Apache-2.0, BSD-3-Clause, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package execx contains wrappers and utilities for the exec package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(prog string, args ...string) error

Execute runs the program with the given arguments. It attaches stdio to the child process.

func ExecuteEnv added in v2.35.0

func ExecuteEnv(env map[string]string, prog string, args ...string) error

Execute runs the program with the given arguments with additional environment variables. It attaches stdio to the child process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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