Skip to content
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