forked from mirror/open-golang
Merge pull request #20 from seanhoughton/fix_windows_folders
Don't HideWindow, it breaks opening folders on windows
This commit is contained in:
commit
da5c36ab63
|
@ -22,7 +22,7 @@ func cleaninput(input string) string {
|
|||
|
||||
func open(input string) *exec.Cmd {
|
||||
cmd := exec.Command(runDll32, cmd, input)
|
||||
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
||||
//cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
||||
return cmd
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue