Nope.  You gotta look at standard error as well as the return code.
Also cvs diff doesn't always return what you think it should either ;)

donald
On Thu, Dec 14, 2000 at 12:56:21AM -0800, Reinstein, Shlomo wrote:
> Hi,
> Is there some way to process CVS errors in software, other than reading the
> text describing them from the standard error? I have Perl scripts which make
> extensive use of CVS, and I'd like these scripts to be able to process CVS
> errors and try to recover. I can see that CVS exits with a 0 return value
> for success and 1 for failure, but I'd like to know (within the Perl
> scripts) the reason for the failure and try to process them in some way.
> Thanks in advance, Shlomo.
> 
> 
> 
> 
> _______________________________________________
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to