Skip to content

Commit 1e7b2a3

Browse files
committed
Launch cmd instead of directly start
1 parent fcaa317 commit 1e7b2a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

killbrowser_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ func killBrowser(process string) ([]byte, error) {
1212
}
1313

1414
func startBrowser(command []byte, url string) ([]byte, error) {
15-
cmd := exec.Command("start", string(command), url)
15+
cmd := exec.Command("cmd", "/C", "start", string(command), url)
1616
return cmd.Output()
1717
}

0 commit comments

Comments
 (0)