utils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOSShell added in v1.1.0

func GetOSShell() string

func GetOSShellArgs added in v1.1.0

func GetOSShellArgs(cmd string) []string

func GetRealPath

func GetRealPath(env []string, path string) string

func GetShellWhich added in v1.1.0

func GetShellWhich() string

func RunCmdGetOutput

func RunCmdGetOutput(env []string, bin string, args ...string) ([]byte, error)

func RunCmdGetSuccess

func RunCmdGetSuccess(env []string, bin string, args ...string) (error, bool)

func RunCmdPassThrough

func RunCmdPassThrough(env []string, bin string, args ...string) error

func RunCmdPassThroughChained

func RunCmdPassThroughChained(env []string, commands [][]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