1
0
mirror of https://github.com/drone/drone-cli.git synced 2026-01-24 19:58:01 +01:00
drone-cli/vendor/github.com/pkg/browser/browser_windows.go
Brad Rydzewski f18b9fe2ac update dep
2018-02-14 13:06:05 -08:00

11 lines
169 B
Go

package browser
import (
"strings"
)
func openBrowser(url string) error {
r := strings.NewReplacer("&", "^&")
return runCmd("cmd", "/c", "start", r.Replace(url))
}