On 01/08/1999 23:17 +0200, era eriksson wrote:
On Fri, 8 Jan 1999 14:48:28 -0600, Tim Walberg
<walberg(_at_)cig(_dot_)mot(_dot_)com>
wrote:
> # do further processing in background so procmail doesn't hang
around waiting
> (
> # further processing
> ) < /dev/null >> /dev/null 2>&1 &
Actually, all you really need is for the calling Procmail recipe to
not have a w flag. (I think :-)
/* era */
--
.obBotBait: It shouldn't even matter whether
<http://www.iki.fi/~era/>
I am a resident of the state of Washington.
<http://members.xoom.com/procmail/>
End of included message
Actually, I do need the code as presented above. This is a
pared-down version of what I actually use for some rather
involved report processing, and the real version actually
depends on procmail waiting until the "further processing"
section starts (don't ask, it's ugly, and I need to fix it
right one of these days...). For simple tasks, it's true
that leaving the w flag accomplishes the same thing more
cleanly. Regardless of whether I've got the most efficient
implementation or not, it works, though...
tw
--
+--------------------------------------+------------------------------------+
| Tim Walberg | Phone: (847) 632-3407 |
| Motorola CE/ITS | Pager: (800) SKY-TEL2 PIN:1384689 |
| 1475 W Shure Dr. IL75-2H14 | FAX: (847) 632-5769 |
| Arlington Heights, IL 60004 | |
+--------------------------------------+------------------------------------+
| http://www.cig.mot.com/~walberg | E-mail:
walberg(_at_)cig(_dot_)mot(_dot_)com, |
| http://www.skytel.com/Paging (pager) | 1384689(_at_)skytel(_dot_)com
(pager) |
+--------------------------------------+------------------------------------+
pgpMCB8z6gdsW.pgp
Description: PGP signature