skratchdot / open-golang

Open a file, directory, or URI using the OS's default application for that object type. Optionally, you can specify an application to use.
MIT License
783 stars 65 forks source link

Don't HideWindow, it breaks opening folders on windows #20

Closed seanhoughton closed 5 years ago

seanhoughton commented 5 years ago

This fixes a problem on windows where opening a folder with explorer doesn't work and no error is returned.

skratchdot commented 5 years ago

@chengziqing - any ideas? the problem code was merged in #17. perhaps the "hide window" stuff should be a setting/config/additional parameter?