桌面软件自动化 运行或打开指令 提示‘code’错误
回答
收藏

桌面软件自动化 运行或打开指令 提示‘code’错误

峰少
2023-11-04 11:00·浏览量:524
峰少
发布于 2023-11-04 10:58更新于 2023-11-04 11:00524浏览

只有这一条指令,然后设置一个软件的启动路径,比如QQ 微信,都是报错‘cdoe’

'code'


Traceback (most recent call last):


 File "D:\影刀\shadowbot-5.14.22\python\lib\runpy.py", line 193, in _run_module_as_main


   "__main__", mod_spec)


 File "D:\影刀\shadowbot-5.14.22\python\lib\runpy.py", line 85, in _run_code


   exec(code, run_globals)


 File "D:\影刀\shadowbot-5.14.22\python\lib\site-packages\xbot_interpreter.py", line 97, in <module>


   main()


 File "D:\影刀\shadowbot-5.14.22\python\lib\site-packages\xbot_interpreter.py", line 59, in main


   mod.main(args)


 File "C:\Users\Administrator\AppData\Local\ShadowBot\users\595792211625029634\apps\74b6395b-0dc7-43cd-9cbc-f916bd389bc1\xbot_robot\process1.py", line 9, in main


   process_info = xbot_visual.system.run_or_open(application_path="D:\\SuperBrowser\\starter.exe", command_line_arguments="", working_folder=None, after_application_launch="continue", is_waitexit_not_more_than=False, timeout_for_exit="10", is_waithwnd_not_more_than=False, timeout_for_hwnd="3", start_as_admin=False, window_style="normal", _block=("登录", 1, "运行或打开"))


 File "<string>", line 89, in wrapper


 File "<string>", line 84, in wrapper


 File "<string>", line 149, in run_or_open


 File "<string>", line 310, in _launch_process


KeyError: 'code'



收藏
全部回答1
最新
发布回答
回答