]> git.cworth.org Git - sup/commitdiff
log run-mailcap call
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 24 Jan 2008 23:10:15 +0000 (15:10 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 24 Jan 2008 23:10:15 +0000 (15:10 -0800)
lib/sup/message-chunks.rb

index 799529052501334f90f787c2ddc7044725f61875..0606395052f4d7a4a467638da170019271f0df4c 100644 (file)
@@ -116,7 +116,9 @@ EOS
     def initial_state; :open end
     def viewable?; @lines.nil? end
     def view_default! path
-      system "/usr/bin/run-mailcap --action=view '#{@content_type}:#{path}' > /dev/null 2> /dev/null"
+      cmd = "/usr/bin/run-mailcap --action=view '#{@content_type}:#{path}' > /dev/null 2> /dev/null"
+      Redwood::log "running: #{cmd.inspect}"
+      system cmd
       $? == 0
     end