python subprocess run stdin string