diff --git a/open/exec_windows.go b/open/exec_windows.go index b3b9b4d..1ed5c5f 100644 --- a/open/exec_windows.go +++ b/open/exec_windows.go @@ -7,9 +7,9 @@ import ( ) func open(input string) *exec.Cmd { - return exec.Command("start", "", input) + return exec.Command("cmd", "/C", "start", "", input) } func openWith(input string, appName string) *exec.Cmd { - return exec.Command("start", "", appName, input) + return exec.Command("cmd", "/C", "start", "", appName, input) }