From mboxrd@z Thu Jan 1 00:00:00 1970 From: pierre@baillet.name (Pierre Baillet) Date: Tue, 16 Oct 2007 10:19:38 +0200 Subject: [sup-talk] run-mailcap not working correctly In-Reply-To: <1192497496-sup-690@silver> References: <1192497496-sup-690@silver> Message-ID: <6205b42d0710160119k5291a5e2ta1e89a0040471972@mail.gmail.com> Hi, I got the same issue on my debian setup here. Removing the >&... made the html attachement work again. On 10/16/07, Ian Taylor wrote: > > 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 > _______________________________________________ > sup-talk mailing list > sup-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/sup-talk > -- Pierre Baillet -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071016/4fc091d6/attachment.html