cloudflared-mirror/token/launch_browser_unix.go

12 lines
160 B
Go

//+build linux freebsd openbsd netbsd
package token
import (
"os/exec"
)
func getBrowserCmd(url string) *exec.Cmd {
return exec.Command("xdg-open", url)
}