Skip to content

Commit

Permalink
Fix open file error with space in path
Browse files Browse the repository at this point in the history
  • Loading branch information
koho committed Feb 14, 2022
1 parent ff7a0fd commit 5631e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/aboutpage.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func openPath(path string) {
if path == "" {
return
}
openCmd := exec.Command("cmd", "/c", "start", path)
openCmd := exec.Command("cmd", "/c", "start", "", path)
openCmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
openCmd.Start()
}

0 comments on commit 5631e57

Please sign in to comment.