mirror of
https://github.com/rclone/rclone.git
synced 2024-12-12 02:02:02 +01:00
f7af730b50
This is using godep to manage the vendor directory.
16 lines
239 B
Go
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)
|
|
}
|