-
尝试编写一个
|
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Nov 16, 2022
Replies: 1 comment 2 replies
-
脚本域就没必要用 执行命令用, 文档有说明 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
kench1994
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
脚本域就没必要用
$(env xx)
了,那个主要是给描述域方便配置用的。。脚本域直接用 os.getenv 和 os.setenv执行命令用,
os.execv("xxx", {arg1, arg2}, {envs = {XXX = ""}})
文档有说明