exec

package
v1.0.53 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type CommandOutput

type CommandOutput = T.Tuple2[[]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