mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-06 17:40:24 +08:00
AUTH-2077: Quotes open browser command in windows
This commit is contained in:
11
cmd/cloudflared/shell/launch_browser_darwin.go
Normal file
11
cmd/cloudflared/shell/launch_browser_darwin.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//+build darwin
|
||||
|
||||
package shell
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func getBrowserCmd(url string) *exec.Cmd {
|
||||
return exec.Command("open", url)
|
||||
}
|
||||
Reference in New Issue
Block a user