RE: debug and STDERR

2005-05-23 Thread Steven Manross
Thanks Justin. I'll try that later. Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 12:05 AM To: Steven Manross Cc: Loren Wilton; users@spamassassin.apache.org Subject: Re: debug and STDERR -BEGIN PGP SIGNED ME

Re: debug and STDERR

2005-05-23 Thread JamesDR
; } else { return 0; } } I'd presume that the STDERR call that I made should work, being that no one has corrected my code yet.. (it does work from a console window [doing spamassassin.bat -D From: Loren Wilton [mailto:[EMAIL PROTECTED] Sent: Sunday, May 22, 2005 3:12 PM To: us

Re: debug and STDERR

2005-05-23 Thread Justin Mason
; > P.S. I'd like to thank everyone involved in this project. SA is truly > an amazing work of art; Well-crafted, maintained, and the user support > community is top-notch as well. > > -Original Message- > From: Loren Wilton [mailto:[EMAIL PROTECTED] > Sent: Sunda

Re: debug and STDERR

2005-05-22 Thread Loren Wilton
You may be up a creek, or there may be a way to snaggle past the little annoyances. You are certainly in a case where you don't have a shell, so don't have stdin/stdout/stderr available normally. However, I suspect that stdin/stdout have been remapped, since that is how most web page things work,

RE: debug and STDERR

2005-05-22 Thread Steven Manross
} } I'd presume that the STDERR call that I made should work, being that no one has corrected my code yet.. (it does work from a console window [doing spamassassin.bat -D mailto:[EMAIL PROTECTED] Sent: Sunday, May 22, 2005 3:12 PM To: users@spamassassin.apache.org Subject: Re: debug and

Re: debug and STDERR

2005-05-22 Thread Loren Wilton
> I find it odd that MS would not give my access to STDERR, but it looks > to be the case. :( You do usually have have access to stderr on a Windows platform. However, it is entirely possible that it has been hijacked by whatever the process is that is calling SA and doesn't end up where you thin

debug and STDERR

2005-05-22 Thread Steven Manross
Is there any way that something like this could be inserted/changed into the Mail::SpamAssassin module... Or is this just something that I should implement as there's no other need for it? sub dbg { if (!defined($dbg->{foo}) { warn "debug: $msg\n"; } else { push (@{$Mail::SpamAssas