Help us shape the future of Go! Take the 2026 Go Developer Survey

exec

package
v2.3.83 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// StdOut returns the field of a [CommandOutput] representing `stdout`
	StdOut = P.Head[[]byte, []byte]
	// StdErr returns the field of a [CommandOutput] representing `stderr`
	StdErr = P.Tail[[]byte, []byte]
)

Functions

This section is empty.

Types

type CommandOutput

type CommandOutput = P.Pair[[]byte, []byte]

CommandOutput represents the output of executing a command. The first field in the [Tuple2] is stdout, the second one is stderr. Use StdOut and StdErr to access these fields

Jump to

Keyboard shortcuts

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