exec

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package exec contains methods that call os commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCodeFromError added in v0.15.1

func ExitCodeFromError(err error) (int, error)

ExitCodeFromError attempts to find the exit code from an exec error

func RunCtxDirStdoutStderr

func RunCtxDirStdoutStderr(ctx context.Context, directory string, stdout, stderr io.Writer, command string, args ...string) error

RunCtxDirStdoutStderr is a wrapper around exec.CommandContext and command.Run with additional arguments

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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