cloudflared-mirror/token/launch_browser_unix.go

13 lines
210 B
Go

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