aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/skratchdot/open-golang/open/exec_darwin.go
blob: 16160e6f0430856bb619ac24c2f9e64607edf680 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// +build darwin

package open

import (
	"os/exec"
)

func open(input string) *exec.Cmd {
	return exec.Command("open", input)
}

func openWith(input string, appName string) *exec.Cmd {
	return exec.Command("open", "-a", appName, input)
}