aboutsummaryrefslogtreecommitdiffstats
path: root/retrospect.rb
diff options
context:
space:
mode:
Diffstat (limited to 'retrospect.rb')
-rw-r--r--retrospect.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/retrospect.rb b/retrospect.rb
index 783037f..348a0e4 100644
--- a/retrospect.rb
+++ b/retrospect.rb
@@ -3,10 +3,8 @@ OUTPUT = "/tmp/movie.mov"
BASEDIR = File.dirname(File.realpath(__FILE__))
trap(:ALRM) {
- fork do
- system "#{BASEDIR}/ffmpeg", '-y', '-i', "/tmp/img_%d.jpg", OUTPUT
- system "/usr/bin/open", OUTPUT
- end
+ system "#{BASEDIR}/ffmpeg", '-y', '-i', "/tmp/img_%d.jpg", OUTPUT
+ system "/usr/bin/open", OUTPUT
}
i = 0