Skip to content
Discussion options

You must be logged in to vote

脚本域就没必要用 $(env xx) 了,那个主要是给描述域方便配置用的。。脚本域直接用 os.getenv 和 os.setenv

执行命令用,os.execv("xxx", {arg1, arg2}, {envs = {XXX = ""}})

文档有说明

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kench1994
Comment options

@waruqi
Comment options

Answer selected by kench1994
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants