Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
change cmd standard output destination
Browse files Browse the repository at this point in the history
  • Loading branch information
SoMuchForSubtlety committed Jun 17, 2019
1 parent 250d13b commit a8291e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ func nodeSelected(node *tview.TreeNode) {
return
}
cmd := exec.Command("mpv", url, "--alang="+con.Lang, "--start=0")
cmd.Stdout = debugText
stdoutIn, _ := cmd.StdoutPipe()
err = cmd.Start()
if err != nil {
Expand Down

0 comments on commit a8291e3

Please # to comment.