cloudflared-mirror/token/launch_browser_unix.go

12 lines
171 B
Go

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