1
0
mirror of https://github.com/strongdm/comply synced 2024-11-12 19:04:54 +00:00
comply/vendor/github.com/skratchdot/open-golang/open/exec_darwin.go
2018-05-09 18:02:33 -07:00

16 lines
239 B
Go

// +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)
}