feat: add wait for windows start cmd

This commit is contained in:
heidi.ngew 2022-12-22 09:04:18 -05:00
parent eef8423979
commit 92ad495ff7
No known key found for this signature in database
GPG Key ID: 03C9B99A7BFFC435
1 changed files with 1 additions and 1 deletions

View File

@ -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
}