mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:04:52 +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)
|
|
}
|