diff options
author | Brian Cully <bjc@kublai.com> | 2017-11-12 11:50:07 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2017-11-12 11:50:07 -0500 |
commit | bbaaba6a72abb2357d1650eabe60e82eed024a58 (patch) | |
tree | 1e84c0a3d993764cb049b030ef950d3e7ad6278a /xmpt | |
parent | 2bb7eb2dec219d05edb53002e10811fa214325b8 (diff) | |
download | xmpt-bbaaba6a72abb2357d1650eabe60e82eed024a58.tar.gz xmpt-bbaaba6a72abb2357d1650eabe60e82eed024a58.zip |
Use global autoflush.
Diffstat (limited to 'xmpt')
-rwxr-xr-x | xmpt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |