Skip to content

Commit

Permalink
Merge pull request #448 from FahimAdib/fix-spf-freeze-on-file-open
Browse files Browse the repository at this point in the history
fix: change command execution to start instead of output
  • Loading branch information
yorukot authored Nov 11, 2024
2 parents cc50cd6 + 1c3378f commit 2aafcd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/handle_panel_movement.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (m *model) enterPanel() {
openCommand = "open"
}
cmd := exec.Command(openCommand, panel.element[panel.cursor].location)
_, err = cmd.Output()
err = cmd.Start()
if err != nil {
outPutLog(fmt.Sprintf("err when open file with %s", openCommand), err)
}
Expand Down

0 comments on commit 2aafcd7

Please sign in to comment.