Merge pull request #20 from seanhoughton/fix_windows_folders

Don't HideWindow, it breaks opening folders on windows
This commit is contained in:
skratchdot 2019-03-31 10:37:41 -04:00 committed by GitHub
commit da5c36ab63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func cleaninput(input string) string {
func open(input string) *exec.Cmd { func open(input string) *exec.Cmd {
cmd := exec.Command(runDll32, cmd, input) cmd := exec.Command(runDll32, cmd, input)
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true} //cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
return cmd return cmd
} }