mirror of
https://github.com/drone/drone-cli.git
synced 2026-01-24 19:58:01 +01:00
11 lines
169 B
Go
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))
|
|
}
|