From: Clay Davis [mailto:[EMAIL PROTECTED]
>
> Can anyone tell me how to pipe the output to a file when I run SpamAssassin?
> I want to do something similar to:
> SpamAssassin -D --lint > C:\saout.txt
> But it doesn't seem to work that way.
 
Do you want to capture STDOUT, STDERR, or both?
 
Try:
SpamAssassin -D --lint > C:\sa-stdout.txt 2> C:\sa-stderr.txt
 
There's also a way to combine the streams:
SpamAssassin -D --lint > C:\saout.txt 2>&1
 
But the exact syntax for Windows skips my mind.
 
You can pipe STDERR too, with 2|

Reply via email to