chop (my $status = `((make -f $params 2>&1 3>&-; echo \$? >&3 ) | tee -a build.log 1>&2 3>&- ) 3>&1`); print "make exit status: $status\n";