for line in p.stdout.readlines():