计划任务执行sh报错command not found #6914
-
遇到一个奇怪的问题,机器上装了 写了一个测试脚本: import os
os.system("pwd")
os.system("node -v")
os.system("python312 -V")
现在定位不出来是哪里的问题,help!!! |
Beta Was this translation helpful? Give feedback.
Answered by
wanghe-fit2cloud
Oct 31, 2024
Replies: 1 comment 2 replies
-
先试一下全路径: |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
JAINKRE
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
先试一下全路径:
os.system("/path/to/python3.12 -V")