# File lib/headless/video/video_recorder.rb, line 67 def stop_and_discard CliUtil.kill_process(@pid_file_path, :wait => true) begin FileUtils.rm(@tmp_file_path) rescue Errno::ENOENT # that's ok if the file doesn't exist end end