in reply to Re: Calling functions
in thread Calling functions

Right. I put
print("DONE\n");
At the end of split_logfile() and
print("Starting gen_stats\n");
at the beginning of gen_stats(). It printed the messages out in correct order:
DONE Starting gen_stats ...
So it appears that the functions are getting called in the correct order.