Barry Lake ([log in to unmask]) wrote: : is to change all printf("whatever") calls to fprintf(stdout, "whatever"). : This seems to force the output to be written immediately... Did you mean stderr? Otherwise they should be the same.