cmd

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(cmdStr string) (string, error)

func ExecCronjobWithTimeOut added in v1.2.0

func ExecCronjobWithTimeOut(cmdStr string, timeout time.Duration) (string, error)

func ExecWithTimeOut added in v1.1.0

func ExecWithTimeOut(cmdStr string, timeout time.Duration) (string, error)

func Execf

func Execf(cmdStr string, a ...interface{}) (string, error)

func HasNoPasswordSudo added in v1.1.2

func HasNoPasswordSudo() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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