subprocess run stdin python