python subprocess read stdin