Index: trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
===================================================================
--- trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 26026)
+++ trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 26085)
@@ -16,4 +16,5 @@
 use File::Spec 0.87;
 use File::Temp qw( tempfile );
+use IO::Handle;
 
 use PS::IPP::Metadata::Config 1.00;
@@ -695,5 +696,9 @@
         print STDERR "   redirect stdout to $filename succeded on try $try\n";
     }
+    # turn off buffering of output so that output from this script doesn't appear later
+    # that output from execed programs
+    STDOUT->autoflush(1);
     open STDERR, ">>$filename" or ( carp "failed to redirect stderr to $filename" and return undef );
+    STDERR->autoflush(1);
 
     return 1;
