Skip to content

请问一下,如何只修改内置target:on_build的runv()所传参数而不修改其他地方呢? #4548

Answered by waruqi
PumpkinXD asked this question in Q&A
Discussion options

You must be logged in to vote

(注:cosmocc/bin/cosmocc是bash script,我试着直接跑 os.run("cosmocc --version")是跑不通的但os.run("sh cosmocc --version")是可以的)

os.runv("cosmocc", {"--version"}, {shell = true})

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@PumpkinXD
Comment options

@waruqi
Comment options

@PumpkinXD
Comment options

@waruqi
Comment options

Answer selected by PumpkinXD
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