cmdutil

package
v0.0.0-...-365054f Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(args ...string) error

Exec executes external command and logs output on the debug level. It returns a combined stderr and stdout output and exit code in case of an error.

func ExecOutput

func ExecOutput(args ...string) (output string, err error)

ExecOutput executes external command and logs output on the debug level. It returns a combined stderr and stdout output and exit code in case of an error.

func SudoExec

func SudoExec(args ...string) error

SudoExec executes external command with sudo privileges and logs output on the debug level. It returns a combined stderr and stdout output and exit code in case of an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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