Ok, thank's a lot.
I' think I'll grep analogs output and analyze it via my perl script, so I
can deal with the warnings and react on them.
Yours
Christian Teufel
At 14:12 09.03.2001 +0000, you wrote:
>On Fri, 9 Mar 2001, qwertu wrote:
>
> > Hello,
> >
> > I'm using analog 4.13 on a SuSE Linux 7.0 system.
> > I'm starting analog out of a perl script wich provides all parameters.
> > e.g.:
> > ----
> > $command = "analog ....";
> > $retcode = system($command);
> > print $retcode; # print return code on screen
> > ----
> > If analog ends successfully the return code is 0. If analog can't find the
> > dns.txt or the logfile a warning is printed on screen, but the return code
> > remains 0. Is there a way to get different return codes for each case
> (e.g.
> > no logfile, no dns.txt, etc.)?
> >
>
>No, because these are not errors. Analog continues and does the best it can.
>(For example, you might have two logfiles, and it could still read the
>second one.) Fatal errors, which cause it to stop immediately, do have a
>different return code.
>
>--
>Stephen Turner http://www.statslab.cam.ac.uk/~sret1/
> Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
> "Your account can only be used for a single internet session at any one
> time and for no more than 24 hours in any one day." (NTL terms of use)
>
>------------------------------------------------------------------------
>This is the analog-help mailing list. To unsubscribe from this
>mailing list, send mail to [EMAIL PROTECTED]
>with "unsubscribe" in the main BODY OF THE MESSAGE.
>List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
>------------------------------------------------------------------------
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
------------------------------------------------------------------------