python subprocess provide stdin