From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Tue, 19 Feb 2008 10:23:56 -0800 Subject: [sup-talk] mime-view In-Reply-To: <1203442283-sup-4449@south> References: <1203393696-sup-1607@buckwheat> <1203442283-sup-4449@south> Message-ID: <1203445365-sup-9276@south> Reformatted excerpts from William Morgan's message of 2008-02-19: > Reformatted excerpts from Daniel Wagner's message of 2008-02-18: > > system "xmessage -default okay In the hook." > > system "see #{content_type}:#{filename}" > > return true > > This looks fine, though I would change the last line to just > $?.success? Never mind that. Remove the last (and first!) line completely. Kernel#system returns true iff the command is successful. -- William