From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Mon, 12 Nov 2007 22:06:01 +0000 Subject: [sup-talk] [PATCH] Pipe message/attachement to shell command In-Reply-To: <1194889791-sup-3292@south> References: <1194622205-sup-2949@tomsk> <1194889791-sup-3292@south> Message-ID: <1194905067-sup-4236@tomsk> On 12.11.2007, William Morgan wrote: > Hey, this is another reason to use open3 instead of Session. You need to > have access to use the stdin filehandle in order to use > #each_raw_message_line. (There's no speed difference for IMAP, but for > Maildir and mbox, it's quite large. Maildir could be sped up, but mbox > fundamentally not.) Attached is a patch for the shell/pipe code so that it uses open3. Just realised I've not moved shell method into sup in this patch, but its a start! Marcus -------------- next part -------------- A non-text attachment was scrubbed... Name: open3-diffs Type: application/octet-stream Size: 3068 bytes Desc: not available Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071112/0add038a/attachment.obj