cloudflared-mirror/token/launch_browser_darwin.go

12 lines
136 B
Go

//go:build darwin
package token
import (
"os/exec"
)
func getBrowserCmd(url string) *exec.Cmd {
return exec.Command("open", url)
}