Versions in this module Expand all Collapse all v1 v1.0.0 Apr 1, 2024 Changes in this version + func Cmd(command string, args ...string) (string, string, error) + func CmdWithContext(ctx context.Context, config Config, command string, args ...string) (string, string, error) + func CmdWithPrint(command string, args ...string) error + func GetOSShell(shellPref Shell) (string, []string) + func IsPowershell(shellName string) bool + func LaunchURL(url string) error + type Config struct + CommandPrinter func(format string, a ...any) + Dir string + Env []string + Print bool + Stderr io.Writer + Stdout io.Writer + func PrintCfg() Config + type Shell struct + Darwin string + Linux string + Windows string