如下修改:subprocess.Popen(cmd.encode(‘utf-8‘), shell=True)
subprocess execv() arg 2 must contain only strings
原文:https://blog.51cto.com/liuanhf/2509039