On Mon, 2004-02-02 at 12:03, [EMAIL PROTECTED] wrote:
> I'm trying to do a cvs command in perl using the system command.
> I'd like to capture the output. and I don't want cvs stuff barfing
> on the screen.

cvs dumps a lot of stuff on stderr.  Tack 2>&1 on the end of your
backtick call to redirect stderr into stdout.

$output = `cvs ... 2>&1`;


 -- Jeremy


_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to