Skip to content

Commit

Permalink
ff2mpv: Invoke mpv with --no-terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw committed Nov 14, 2017
1 parent ceead00 commit c5a955e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ff2mpv
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ require "json"
len = STDIN.read(4).unpack("L").first
url = JSON.parse(STDIN.read(len))["url"]

pid = spawn "mpv", "--", url, in: :close, out: :close, err: :close
pid = spawn "mpv", "--no-terminal", "--", url, in: :close, out: :close, err: :close
Process.detach pid

0 comments on commit c5a955e

Please sign in to comment.