On 10-Feb-2009, at 16:16, Dallman Ross wrote:
LuKreme wrote Tuesday, February 10, 2009 23:56:
On 10-Feb-2009, at 15:01, Rem P Roberti wrote:
|mplayer ~/Audio/notify.wav
Well, I would not think that a pipe was the way to go
:0
* some conditions
* go here
{ PLAY=`mplayer /path/to/audio/file.wav` }
might work.
The main difference in result between yours and his is that
his will eat (destroy, lose) the message. If he put a
c-flag on the recipe, though, it would have the same
result as yours.
But his would needlessly pipe the message to the mplayer command.
--
Advance and attack! Attack and destroy! Destroy and rejoice!
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail