subprocess.Popen运行报错WindowsError: [Error 740]

subprocess.Popen在win10下运行报740错

使用os.popen替换,运行OK,exe程序成功启动

 

import subprocess
import uiautomation as automation
import os


print (automation.GetRootControl())

# subprocess.Popen(‘D:\SYJ\CloudPos\ZlPos.exe‘)
os.popen(D:\SYJ\CloudPos\ZlPos.exe)

 

subprocess.Popen运行报错WindowsError: [Error 740]

上一篇:navicat 连接sqlserver提示要安装 sql server native client


下一篇:webapi接口统一返回请求时间