[cfe-commits] r157219 - /cfe/trunk/utils/analyzer/reducer.pl
Ted Kremenek
kremenek at apple.com
Mon May 21 17:36:51 PDT 2012
On May 21, 2012, at 5:31 PM, Nick Lewycky <nlewycky at google.com> wrote:
> +#!/usr/bin/perl -w
> +use strict;
> +my \$BAD = 1;
> +my \$GOOD = 0;
> +`rm -f $reduceOut`;
> +my \$command = "$commandStr > $reduceOut 2>&1";
> +system(\$command);
> +open(IN, "$reduceOut") or exit(\$BAD);
>
> open(IN, "$command|") or exit(\$BAD);
>
That's not quite the same. That doesn't capture both stdout and stderr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120521/dc7f9c58/attachment.html>
More information about the cfe-commits
mailing list