X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/5edad1549c82ef1f634b9d92052b4a3138f39469..1e967327a9c288b5fff8e9db78b678d2192c5b0e:/continuous/gw-setup/run.pl diff --git a/continuous/gw-setup/run.pl b/continuous/gw-setup/run.pl index befe36e..068c5dd 100755 --- a/continuous/gw-setup/run.pl +++ b/continuous/gw-setup/run.pl @@ -50,8 +50,8 @@ sub run_boot() setpgrp(); # Start new process group so that we can kill all # background processes at once close($boot); - open(STDOUT, ">&", $wh) || die "Can't dup STDOUT: $!"; - my $cmd = "$bootcmd | tee /dev/stderr"; + open(STDERR, ">&", $wh) || die "Can't dup STDERR: $!"; + my $cmd = "$bootcmd 2>&1 | tee /dev/stderr"; exec($cmd) || die "Can't exec $cmd: $!"; } close($wh);