The stubs currently say cmd must be a str, even though the subprocess library itself can pass in a list. I'll try to post a PR with a fix today or later this week.