[EMAIL PROTECTED] wrote: > All my cvs check in file activity is done by perl script. > Unfortunately, I am not able to read the cvs output if there is commit > failure or other failures. For example: > > $result = `cvs -d /cvs_data -m"Update file" abc/alc.c`; > > If the above cvs command fails to commit, I want to all cvs output > result to be stored in temporarily $result. Can I do that? If not, how > can I get the output result. I need the output result to do some > operations. CVS sends errors to stderr, and normal output to stdout. $result will hold the output of stdout. Check your PERL reference to figure out how to capture the output of stderr.
-- Jim Hyslop Senior Software Designer Leitch Technology International Inc. (http://www.leitch.com) Columnist, C/C++ Users Journal (http://www.cuj.com/experts) _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
