1
0
mirror of https://github.com/strongdm/comply synced 2024-09-19 18:45:38 +00:00
comply/vendor/github.com/skratchdot/open-golang/open/exec_darwin.go

16 lines
239 B
Go
Raw Normal View History

2018-05-11 20:25:46 +00:00
// +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)
}