github.com/engineyard/workflow-cli@v2.21.6+incompatible/pkg/webbrowser/webbrowser_windows.go (about) 1 // +build windows 2 3 package webbrowser 4 5 import ( 6 "os/exec" 7 ) 8 9 // Webbrowser opens a URL with the default browser. 10 func Webbrowser(u string) (err error) { 11 _, err = exec.Command("cmd", "/c", "start", u).Output() 12 return 13 }