12 lines
160 B
Go
12 lines
160 B
Go
|
//+build linux freebsd openbsd netbsd
|
||
|
|
||
|
package shell
|
||
|
|
||
|
import (
|
||
|
"os/exec"
|
||
|
)
|
||
|
|
||
|
func getBrowserCmd(url string) *exec.Cmd {
|
||
|
return exec.Command("xdg-open", url)
|
||
|
}
|