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 ¶
Execute runs the program with the given arguments. It attaches stdio to the child process.
func ExecuteEnv ¶ added in v2.35.0
ExecuteEnv runs the program with the given arguments with additional environment variables. It attaches stdio to the child process.
func ExecuteEnvWithIO ¶ added in v2.51.0
func ExecuteEnvWithIO(env map[string]string, stdin io.Reader, stdout, stderr io.Writer, prog string, args ...string) error
ExecuteEnvWithIO runs the program with the given arguments with additional environment variables. It attaches custom IO to the child process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.