commands

package
v0.0.0-...-d97d3d1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSudoIfNeeded

func AddSudoIfNeeded(cmd *exec.Cmd, sudoArgs ...string) error

AddSudoIfNeeded will prefix the given exec.Cmd with sudo if the current user is not root.

Types

This section is empty.

Jump to

Keyboard shortcuts

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