From bbaaba6a72abb2357d1650eabe60e82eed024a58 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sun, 12 Nov 2017 11:50:07 -0500 Subject: Use global autoflush. --- xmpt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmpt b/xmpt index 5e79d7d..8fed801 100755 --- a/xmpt +++ b/xmpt @@ -26,6 +26,8 @@ GetOptions('config|c=s' => \$configpath, 'help|h' => \$help) || usage(1); usage(0) if $help; +$| = 1; + my %conf = read_conf($configpath); my @plans = load_plans($testplanpath, $templatepath); @@ -41,7 +43,6 @@ if (@ARGV) { } binmode($inh, ':utf8'); binmode($outh, ':utf8'); -autoflush $outh 1; eval_in($inh, $outh, \%conf, @plans); waitpid($pid, 0) if $pid; -- cgit v1.2.3