-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问下为什么我命令行执行方式无法传参?会直接报错 #293
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题1:命令行执行方式报参数问题,这里KeymouseGo 是应该是KeymouseGo.exe还是python3 KeymouseGo.py scripts/auto_connect_vpn.txt
对应的命令行我放在bat中,打算做成定时任务定时触发。
./KeymouseGo scripts/auto_connect_vpn.txt
报错如下:
2024-06-05 11:40:50.913 | INFO | main:single_run:82 - Script path:scripts/auto_connect_vpn.txt
2024-06-05 11:40:50.914 | ERROR | main:single_run:107 - too many values to unpack (expected 2)
但是我将命令改成:python KeymouseGo.py scripts/auto_connect_vpn-hgz.txt
是可以执行的。
The text was updated successfully, but these errors were encountered: