mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Update docs/codeql/codeql-overview/codeql-changelog/codeql-cli-2.16.3.rst
Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
@@ -27,10 +27,12 @@ Bug Fixes
|
||||
New Features
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* A new extractor option has been added to the Python extractor.
|
||||
Pass one of :code:`--extractor-option python_executable_name=py` or :code:`--extractor-option python_executable_name=python` or :code:`--extractor-option python_executable_name=python3` to :code:`codeql database create` (or :code:`codeql database trace-command` or,
|
||||
for indirect tracing, :code:`codeql database init`) to override the default Python executable search and selection behavior of the Python extractor. For example, on Windows machines, the Python extractor will expect to find :code:`py.exe` on the system :code:`PATH` by default.
|
||||
Setting this extractor option or environment variable allows overriding this behavior to look for a different name.
|
||||
* A new extractor option has been added to the Python extractor: :code:`python_executable_name`.
|
||||
You can use this option to override the default process the extractor uses to find and select a Python executable.
|
||||
Pass one of :code:`--extractor-option python_executable_name=py` or :code:`--extractor-option python_executable_name=python` or :code:`--extractor-option python_executable_name=python3` to commands that run the extractor, for example: :code:`codeql database create`.
|
||||
|
||||
On Windows machines, the Python extractor will expect to find :code:`py.exe` on the system :code:`PATH` by default.
|
||||
If the Python executable has a different name, you can set the new extractor option to override this value and look for :code:`python.exe` or :code:`python3.exe`.
|
||||
|
||||
More detail can be found in `the extractor option documentation <https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/extractor-options>`__.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user