cmd

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MaxStderrLen = 4096

MaxStderrLen is maximum length of stderr output captured for error message.

Variables

This section is empty.

Functions

func Run

func Run(name string, args ...string) (string, error)

Run executes a command.

func RunContext added in v0.7.0

func RunContext(ctx context.Context, name string, args ...string) (string, error)

RunContext executes a command with context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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