From mboxrd@z Thu Jan 1 00:00:00 1970 From: itaylor@uark.edu (Ian Taylor) Date: Mon, 15 Oct 2007 21:25:06 -0400 Subject: [sup-talk] run-mailcap not working correctly Message-ID: <1192497496-sup-690@silver> systeming run-mailcap doesn't seem to work on my system with >& /dev/null appended. Think this is an issue with my setup? Index: lib/sup/message-chunks.rb =================================================================== --- lib/sup/message-chunks.rb (revision 611) +++ lib/sup/message-chunks.rb (working copy) @@ -78,7 +78,7 @@ def viewable?; @lines.nil? end def view! path = write_to_disk - system "/usr/bin/run-mailcap --action=view #{@content_type}:#{path} >& /dev/null" + system "/usr/bin/run-mailcap --action=view #{@content_type}:#{path}" $? == 0 end -- Ian Taylor