cmdRunner

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCannotFindDevice = errors.New(`Cannot find device "wg0"`)
View Source
var ErrIpAlreadySet = errors.New("RTNETLINK answers: File exists")
View Source
var ErrOperationNotPermitted = errors.New(`Operation not permitted`)

Functions

This section is empty.

Types

type ExecErrInterface

type ExecErrInterface interface {
	error
	ExitCode() int
}

func Run

func Run(cmd *exec.Cmd) ([]byte, ExecErrInterface)

Jump to

Keyboard shortcuts

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