VictoriaMetrics/vendor/github.com/pkg/browser/browser_windows.go
2023-07-07 00:05:50 -07:00

7 lines
192 B
Go

package browser
import "golang.org/x/sys/windows"
func openBrowser(url string) error {
return windows.ShellExecute(0, nil, windows.StringToUTF16Ptr(url), nil, nil, windows.SW_SHOWNORMAL)
}