aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/pkg/browser/browser_windows.go
blob: f65e0eec157fe4f871f556da783ec8c1ff5397fd (plain)
1
2
3
4
5
6
7
8
9
10
package browser

import (
	"strings"
)

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