subprocess.Popen在win10下运行报740错时
使用os.popen替换,运行OK,exe程序成功启动
import subprocess import uiautomation as automation import os print (automation.GetRootControl()) # subprocess.Popen('D:SYJCloudPoslPos.exe') os.popen('D:SYJCloudPoslPos.exe')
subprocess.Popen在win10下运行报740错时
使用os.popen替换,运行OK,exe程序成功启动
import subprocess import uiautomation as automation import os print (automation.GetRootControl()) # subprocess.Popen('D:SYJCloudPoslPos.exe') os.popen('D:SYJCloudPoslPos.exe')