yinkaisheng / Python-UIAutomation-for-Windows

🐍Python 3 wrapper of Microsoft UIAutomation. Support UIAutomation for MFC, WindowsForm, WPF, Modern UI(Metro UI), Qt, IE, Firefox, Chrome ...
Apache License 2.0
2.3k stars 462 forks source link

powershell环境运行 automation.py -h 自动闪退 #261

Open amao12580 opened 9 months ago

amao12580 commented 9 months ago

cmd环境运行正常

automation.py -h

yinkaisheng commented 7 months ago

在powershell中要用 python automation.py -h, 否则会弹出一个新的cmd窗口运行脚本,脚本执行完,窗口消失。 非问题。