Thanks for your reply; but no, that makes no differnce; I still get code:
18944 (divided by 256 = 74).

- Mark

----- Original Message -----
From: "John Johnson" <[EMAIL PROTECTED]>
To: "Mark" <[EMAIL PROTECTED]>
Sent: Sunday, February 10, 2002 9:43 PM
Subject: Re: [SAtalk] Exit code


> On Sun, 10 Feb 2002, Mark wrote:
>
> > $result = int ((system ("/usr/bin/spamc -c -f < /tmp/testmail
>/dev/null") /
> > 256));
> >
> > Funny thing is, I keep getting error code 74. I thought it would only
exit
> > with either 1 or 0? Any help would be appreciated.
>
>   not a perl expert, but it could be getting the code of the pipe
>   command (?)
>
>   how bout
>
>   `/usr/bin/spamc -c -f < /tmp/testmail` ;
>   $result = $? ;
>
>   does that return a good value?


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to