lib/termit/sound_response_handler.rb in termit-3.1.1 vs lib/termit/sound_response_handler.rb in termit-3.1.2
- old
+ new
@@ -11,10 +11,10 @@
location = "#{File.expand_path('~')}/.termit"
create_target_dir location
File.open("#{location}/sound_response.mp3", "wb") do |file|
file.write(@data)
end
- system "mpg123 -q #{location}/sound_response.mp3 > /dev/null 2> /dev/null"
+ system "mpg123 -q #{location}/sound_response.mp3 &> /dev/null"
end
private
def create_target_dir location