Reverted to system() which preserves piping.

This commit is contained in:
David Anderson 2009-08-29 18:58:39 -05:00
parent 1c1e9cda7c
commit f7ed81d3ab

View File

@ -11,11 +11,10 @@ require 'helpers.pm';
chdir('../../../OUTPUT'); chdir('../../../OUTPUT');
if ($^O eq "linux") { if ($^O eq "linux") {
$output = `python3.1 build.py 2>&1`; system("python3.1 build.py 2>&1");
} else { } else {
$output = `C:\\Python31\\python.exe build.py 2>&1`; system("C:\\Python31\\python.exe build.py 2>&1");
} }
print($output);
if ($? != 0) if ($? != 0)
{ {