python subprocess run stdin example