Hi, I'm having trouble finding out if output from a pipe has finished (i.e. I can't find tell if there's a EOF in output.readlines()). How do I do this? Because readlines() can return empty lines and I can't simply check if the line is empty. Please somebody help me! Thanks. Steve