|
28 | 28 |
|
29 | 29 | ### New Features |
30 | 30 |
|
31 | | -- A new extractor option has been added to the Python extractor. |
32 | | - Pass one of `--extractor-option python_executable_name=py` |
33 | | - or `--extractor-option python_executable_name=python` |
34 | | - or `--extractor-option python_executable_name=python3` |
35 | | - to `codeql database create` (or `codeql database trace-command` or, |
36 | | - for indirect tracing, `codeql database init`) to override the default |
37 | | - Python executable search and selection behavior of the Python |
38 | | - extractor. For example, on Windows machines, the Python extractor |
39 | | - will expect to find `py.exe` on the system `PATH` by default. |
40 | | - Setting this extractor option or environment variable allows |
41 | | - overriding this behavior to look for a different name. |
42 | | - |
43 | | - 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). |
| 31 | +- A new extractor option has been added to the Python extractor: |
| 32 | + `python_executable_name`. You can use this option to override the default |
| 33 | + process the extractor uses to find and select a Python executable. Pass one of |
| 34 | + `--extractor-option python_executable_name=py` or `--extractor-option |
| 35 | + python_executable_name=python` or `--extractor-option |
| 36 | + python_executable_name=python3` to commands that run the extractor, for |
| 37 | + example: `codeql database create`. |
| 38 | + |
| 39 | + On Windows machines, the Python extractor will expect to find `py.exe` on the |
| 40 | + system `PATH` by default. If the Python executable has a different name, you |
| 41 | + can set the new extractor option to override this value and look for |
| 42 | + `python.exe` or `python3.exe`. |
| 43 | + |
| 44 | + For more information about using the extractor option with the CodeQL CLI, see |
| 45 | + [Extractor |
| 46 | + options](https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/extractor-options). |
44 | 47 |
|
45 | 48 | ### Bugs fixed |
46 | 49 |
|
|
0 commit comments