Skip to content

Commit

Permalink
Fix start on win
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlakshya authored Jul 20, 2024
1 parent 2f8e87d commit 476fd6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/screen-recorder/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ def ffmpeg_bin
# options.
#
def ffmpeg_command
"</dev/null #{ffmpeg_bin} #{@options.parsed}"
cmd = "#{ffmpeg_bin} #{@options.parsed}"

return "</dev/null #{cmd}" unless OS.windows?

cmd
end

#
Expand Down

0 comments on commit 476fd6a

Please sign in to comment.