exec

package
v0.46.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package exec groups functionality related for command execution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VerboseCmd

type VerboseCmd struct {
	Cmd exec.Cmd
}

VerboseCmd represents a system command with verbose output to be able to get an idea of the issue in case the cmd fails.

func NewVerboseCmd

func NewVerboseCmd(name string, args ...string) VerboseCmd

NewVerboseCmd creates a new instance of VerboseCmd.

func (VerboseCmd) Run

func (v VerboseCmd) Run() error

Run executes the command and returns any errors in case exist.

Jump to

Keyboard shortcuts

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