Documentation
¶
Index ¶
- Constants
- func GetOSShell(envShell *appconfig.PlatformMap[string]) string
- func GetOSShellArgs(cmd string) []string
- func GetRealPath(env []string, path string) string
- func GetShellWhich() string
- func MergeMap[K comparable, V any](me map[K]V, other map[K]V) map[K]V
- func RunCmdAsFile(env []string, contents string, envShell *appconfig.PlatformMap[string]) error
- func RunCmdGetOutput(env []string, bin string, args ...string) ([]byte, error)
- func RunCmdGetSuccess(env []string, bin string, args ...string) (error, bool)
- func RunCmdPassThrough(env []string, bin string, args ...string) error
- func RunCmdPassThroughChained(env []string, commands [][]string) error
Constants ¶
View Source
const UNIX_DEFAULT_SHELL string = "bash"
Variables ¶
This section is empty.
Functions ¶
func GetOSShell ¶ added in v1.1.0
func GetOSShell(envShell *appconfig.PlatformMap[string]) string
func GetOSShellArgs ¶ added in v1.1.0
func GetRealPath ¶
func GetShellWhich ¶ added in v1.1.0
func GetShellWhich() string
func MergeMap ¶ added in v1.2.0
func MergeMap[K comparable, V any](me map[K]V, other map[K]V) map[K]V
func RunCmdAsFile ¶ added in v1.2.0
func RunCmdGetOutput ¶
func RunCmdGetSuccess ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.