python subprocess run stdin