github.com/naphatkrit/deis@v1.12.3/client/pkg/webbrowser/webbrowser_windows.go (about)

     1  package webbrowser
     2  
     3  import (
     4  	"os/exec"
     5  )
     6  
     7  // Webbrowser opens a URL with the default browser.
     8  func Webbrowser(u string) (err error) {
     9  	_, err = exec.Command("cmd", "/c", "start", u).Output()
    10  	return
    11  }