2 qq 28875823 qq_28875823 于 2016.09.25 13:11 提问

调用pywinauto来启动.exe时报740

代码如下,具体程序名用****代替了

-*- coding:utf-8 -*-

from pywinauto import application
from ctypes import *
app=application.Application.start("C:\Program Files (x86)****.exe")

错误代码如下
File "build\bdist.win32\egg\pywinauto\application.py", line 825, in __start
File "build\bdist.win32\egg\pywinauto\application.py", line 876, in start_
pywinauto.application.AppStartError: Could not create the process "C:\Program Files (x86)\FClassroom\Fclassroom\FClassroom.exe"
Error returned by CreateProcess: [Error 740]

740有说是权限问题,我把程序属性勾上管理员运行也还是不行,求解

1个回答

oyljerry
oyljerry   Ds   Rxr 2016.09.25 22:15

你 直接命令行中启动这个路径的exe看看有什么错误

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!