From 92ad495ff79b8dfbfebfee0eaa8ad0f9002220d9 Mon Sep 17 00:00:00 2001 From: "heidi.ngew" Date: Thu, 22 Dec 2022 09:04:18 -0500 Subject: [PATCH] feat: add wait for windows start cmd --- 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 6e46c00..f137527 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(runDll32, cmd, input) + cmd := exec.Command("start", input, "/wait") //cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true} return cmd }