From e1194fff66bc2a9c9638d0dcfbb4f922975e4f1d Mon Sep 17 00:00:00 2001 From: "heidi.ngew" Date: Thu, 22 Dec 2022 10:45:13 -0500 Subject: [PATCH] fix: cmd sequence --- open/exec_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open/exec_windows.go b/open/exec_windows.go index f137527..583425e 100644 --- a/open/exec_windows.go +++ b/open/exec_windows.go @@ -21,7 +21,7 @@ func cleaninput(input string) string { } func open(input string) *exec.Cmd { - cmd := exec.Command("start", input, "/wait") + cmd := exec.Command("start", "/wait", input) //cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true} return cmd }