cloudflared-mirror/cmd/cloudflared/shell/launch_browser_unix.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)
}