exec

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BashEval

func BashEval(cmd string) string

func CheckCmdIsExist

func CheckCmdIsExist(cmd string) (string, bool)

func Cmd

func Cmd(cmd string, args ...string) error

func Eval

func Eval(cmd string) string

func ExecutableFileArch

func ExecutableFileArch(path string) string

func ExecutableFilePath

func ExecutableFilePath(name string) string

func FetchSealosAbsPath

func FetchSealosAbsPath() string

FetchSealosAbsPath 获取sealos绝对路径

func RunBashCmd

func RunBashCmd(cmd string) (string, error)

func RunSimpleCmd

func RunSimpleCmd(cmd string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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