feat: add wait for windows start cmd
This commit is contained in:
parent
eef8423979
commit
92ad495ff7
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue