Skip to content

Commit b1deeaf

Browse files
Update docs/codeql/codeql-overview/codeql-changelog/codeql-cli-2.16.3.rst
Co-authored-by: Felicity Chapman <[email protected]>
1 parent b764497 commit b1deeaf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/codeql/codeql-overview/codeql-changelog/codeql-cli-2.16.3.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ Bug Fixes
2727
New Features
2828
~~~~~~~~~~~~
2929

30-
* A new extractor option has been added to the Python extractor.
31-
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,
32-
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.
33-
Setting this extractor option or environment variable allows overriding this behavior to look for a different name.
30+
* A new extractor option has been added to the Python extractor: :code:`python_executable_name`.
31+
You can use this option to override the default process the extractor uses to find and select a Python executable.
32+
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`.
33+
34+
On Windows machines, the Python extractor will expect to find :code:`py.exe` on the system :code:`PATH` by default.
35+
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`.
3436

3537
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>`__.
3638

0 commit comments

Comments
 (0)