procmail
[Top] [All Lists]

Re: Exit code from an external program

2002-04-01 20:27:56
On Tue, 2 Apr 2002 the voices made Kevin Myers write:

Is there a way to access the actual exit code returned from running an
external program?

 Based on your pseudocode I'd say that you just want to do a simple true/false-
match; just check the flags in procmailrc and you'll find what you need (you
check if the recipe before failed or not).


        /Tony
-- 
Per scientiam ad libertatem. ©1999-2002 tony(_at_)vanstrom(_dot_)org
-- Random URL (2/10):
<URL: http://www.apple.com/powerbook/ > *BSD, on the run, in style...
-- Random epigram: (4046/11671)
I hope you're not pretending to be evil while
secretly being good.  That would be dishonest.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>