mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 02:34:21 +08: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)
|
|
}
|