MCPcopy
hub / github.com/cloudflare/cloudflared / OpenBrowser

Function OpenBrowser

token/shell.go:4–6  ·  view source on GitHub ↗

OpenBrowser opens the specified URL in the default browser of the user

(url string)

Source from the content-addressed store, hash-verified

2
3// OpenBrowser opens the specified URL in the default browser of the user
4func OpenBrowser(url string) error {
5 return getBrowserCmd(url).Start()
6}

Callers 1

RunTransferFunction · 0.85

Calls 2

getBrowserCmdFunction · 0.70
StartMethod · 0.65

Tested by

no test coverage detected