the following two sentences, the first sentence can open the browser normally, the second sentence pops up an error dialog box, click OK is useless, can not be closed. The problem is the second sentence, how to not let it pop up the dialog box, but return the error to err.
err := exec.Command("cmd", "/c","start chrome http://www.baidu.com").Run()
err = exec.Command("cmd","/c", "start luanxie ").Run()
error screenshot
purpose: use the cmd command to call the chrome browser, now how the client does not install the chrome browser, will pop up this dialog box, click to make sure the dialog box can not be closed, you give some good methods,