codeql build command #12962
sam-cha-tfs
started this conversation in
General
Replies: 1 comment 5 replies
-
If the arguments are simple and don't need quoting of their own, you can quote the entire CodeQL will then do its own argument splitting and possibly re-quote the argument when it tries to start the command. This argument splitting is not particularly well-specified, so if you have arguments that need quoting or escaping of their own, our usual recommendation is to hard-code them in the script -- possibly write a wrapper script on the fly that calls the actual build script with the desired arguments. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a build script that I pass into the --command option. The script needs to take in parameters. How do I specify these parameters?
codeql database create project-db --language=csharp --command=c:\\build.py <parameter1>
Beta Was this translation helpful? Give feedback.
All reactions