标签:browser imp ide class com specified sys ecif spro
package main
import (
"os/exec"
"syscall"
)
// open opens the specified URL in the default browser of the user.
func main() {
// 无GUI调用
cmd := exec.Command("cmd", "/c", "start", "https://tech.mojotv.cn")
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
cmd.Start()
}
标签:browser imp ide class com specified sys ecif spro
原文地址:https://www.cnblogs.com/linzenews/p/14219014.html