python subprocess run read stdout line by line