//go:build !windows package pkgmanager import ( "fmt" "os/exec" ) func resolveManagerPath(executable, profile string) string { return executable } func interactiveProfile() string { return "" } func runManagerCommand(executable string, args []string) (string, error) { cmd := exec.Command(executable, args...) out, err := cmd.CombinedOutput() if err != nil { return string(out), fmt.Errorf("command failed: %w\nOutput: %s", err, string(out)) } return string(out), nil } func LaunchInUserSession(exe string, args []string) (uint32, error) { return 0, fmt.Errorf("LaunchInUserSession is not supported on this platform") } func RunInUserSessionCapture(exe string, args []string) (string, int, error) { return "", -1, fmt.Errorf("RunInUserSessionCapture is not supported on this platform") }