Skip to content

Commit

Permalink
Hardcode path to 'open' executable (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
blacs30 committed Aug 22, 2020
1 parent 9d420ca commit 65aa38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ func runOpen() {
var args []string
args = append(args, opts.Query)

cmd := exec.Command("open", args...)
cmd := exec.Command("/usr/bin/open", args...)
if _, err := util.RunCmd(cmd); err != nil {
wf.Fatalf("open %q: %v", opts.Query, err)
wf.Fatalf("/usr/bin/open %q: %v", opts.Query, err)
}
}

Expand Down

0 comments on commit 65aa38c

Please sign in to comment.